Accessing Pixhawk 6x parameters when building firmware for SRXL2 connection

3 ビュー (過去 30 日間)
riley cox-gross
riley cox-gross 2024 年 9 月 25 日
回答済み: Arun Mathamkode 2024 年 9 月 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