Deploying Custom Controllers on Pixhawk 6X with PX4 Firmware 1.12.3: Compatibility Challenges

20 visualizzazioni (ultimi 30 giorni)
Hello everyone,
I'm working on deploying a custom control algorithm from MATLAB to a **Pixhawk 6X** board running **PX4 firmware 1.12.3**. However, I've encountered compatibility challenges, possibly due to the interaction between the firmware version, the board, and MATLAB’s PX4 support.
Issue Overview
The primary issue appears during the deployment process, where MATLAB struggles to communicate effectively with the Pixhawk 6X. From my research, it seems PX4 1.12.3 may not fully support the hardware improvements in Pixhawk 6X, resulting in functionality gaps, especially for custom deployments.
Specific Symptoms
- Motor Count Detection: QGroundControl displays an “unable to determine motor count” error, possibly due to parameter or communication issues.
- MATLAB Deployment Issues: MATLAB fails during upload, indicating a mismatch between the controller setup and the firmware's hardware support.
Tried Solutions
I've attempted the following:
1. Checking and reloading the airframe configuration to verify compatibility.
2. Testing with alternative QGroundControl versions, including 4.1.7 and newer.
3. Investigating compatibility by considering upgrades to PX4 1.13 or 1.14, which seem to include fixes for newer hardware like Pixhawk 6X.
Seeking Advice
Does anyone have experience deploying custom controllers on Pixhawk 6X with PX4 firmware, especially using MATLAB? Any insights on firmware version choices, parameters, or potential patches would be greatly appreciated!
Thanks for your help!
  2 Commenti
M.
M. il 13 Nov 2024 alle 11:24
I made a lot of troubleshooting, and it finally works; but the setup is different from the one that is on matlab.
Swastik Sarkar
Swastik Sarkar il 20 Nov 2024 alle 4:20
Hi @M.,
Could you please share the solution you developed? It would be beneficial for others in the community.

Accedi per commentare.

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by