Accessing Pixhawk 6x parameters when building firmware for SRXL2 connection
3 views (last 30 days)
Show older comments
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:
- Set SERIAL4_PROTOCOL = 23
- Set SERIAL4_OPTIONS = 4
- Set RSSI_TYPE = 3
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).
0 Comments
Answers (1)
Arun Mathamkode
on 30 Sep 2024
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.
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!