I made a lot of troubleshooting, and it finally works; but the setup is different from the one that is on matlab.
Deploying Custom Controllers on Pixhawk 6X with PX4 Firmware 1.12.3: Compatibility Challenges
20 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
Swastik Sarkar
2024 年 11 月 20 日 4:20
Could you please share the solution you developed? It would be beneficial for others in the community.
回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!