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

4 visualizzazioni (ultimi 30 giorni)
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?

Risposta accettata

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

Più risposte (0)

Prodotti


Release

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by