Issue with running and monitoring the PX4 Host Target and Jmavsim in Simulink. (PX4 Software-In-The-Loop or SITL)

10 次查看(过去 30 天)
Hello,
I am trying to run the examples of controlling a quadcopter using Simulink's monitor and tune option, but I keep encountering an error. The hardware setup configuration is done perfectly without any issues, and the Jmav simulator is launched perfectly. However, when I click on "Build and Start" or "Monitor and Tune," it gives me an error.
How can I fix this?

采纳的回答

Arun Mathamkode
Arun Mathamkode 2025-2-6
移动:Walter Roberson 2025-2-6
Can you once try setting this MATLAB pref and see if that helps you?
setpref('MW_PX4_Build','FullFirmwareBuild',true)
Note that this pref will enable the Simulink to do the full PX4 firmware build and hence the build time will be considerably longer.

更多回答(0 个)

产品


版本

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by