Accessing Pixhawk 6x parameters when building firmware for SRXL2 connection

3 次查看(过去 30 天)
I am attempting to get the Pixhawk 6x to receive data from a new spektrum receiver that utilizes SRXL2, the process required for getting the SRXL2 protocol to work involves setting certain parameters to different values, namely:
However, when looking at the parameters avaialble in Qground control or mission planner, these parameters are not present. Additionally, there seems to be some kind of text file called uart.txt that the serial parameters are attempting to read from but it detects nothing when loading. Is there any way of adding these parameters to the pixhawk during the firmware build process? Or is there a specific means of configuring the TELEM2 port for a true UART connection. As this is the only way I can get the SRXL2 to connect to the pixhawk when it is running a simulink model (fmu_v6x_fixedwing).

回答(1 个)

Arun Mathamkode
Arun Mathamkode 2024-9-30
As I understand from the links to the paramters mentioned, these are all ArduPilot parameters and you might not find them if you are using PX4. You need to find corresponding PX4 parameters. For example, consider setting RC_INPUT_PROTO to DSM and configure the serial port to use with RC_DSM_PRT_CFG parameter.

产品


版本

R2023b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by