PX4 toolbox in Simulink:when performing SITL with Jmavsim error code -10
5 views (last 30 days)
Show older comments
Salvatore Matteo Mennea
on 16 Aug 2023
Commented: Salvatore Matteo Mennea
on 18 Aug 2023
I designed my own controller with the PX4 toolbox in simulink. I'm trying to perform SITL with Jmavsim but when I run it on the terminal shell it's written:
extmodeEvent error: code -10
This error is reported several times. What is the problem and how can I fix it?
0 Comments
Accepted Answer
Ankur Bose
on 18 Aug 2023
This error indicates there might be data drop while sending data between Host Target and Simulink in External Mode. But External Mode simulation should continue to run. Are you seeing issues with External Mode?
If the External mode is running, log the signals in Signal data inspector to see the amount of data drop. If it is within your satisfacyory limits, you can ignore thsi error. Otherwise, you can increase the sample time of the model to eliminate the error
More Answers (0)
See Also
Categories
Find more on Sources in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!