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

10 views (last 30 days)
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?

Accepted Answer

Arun Mathamkode
Arun Mathamkode on 6 Feb 2025
Moved: Walter Roberson on 6 Feb 2025
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.

More Answers (0)

Products


Release

R2024b

Community Treasure Hunt

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

Start Hunting!