Accessing Pixhawk 6x parameters when building firmware for SRXL2 connection
조회 수: 7 (최근 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:
- 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
답변 (1개)
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.
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!