UAV Toolbox Support Package for PX4 Autopilots Error

Whenever i try an Example simulation on my Pixhawk 1 i get this error. Any fixes?
Error occurred while executing External Mode MEX-file 'ext_comm':
Unexpected response from target. Expected EXT_CONNECT_RESPONSE.
Component:Simulink | Category:Block diagram error
Unable to connect to the 'PX4 Pixhawk 1' target for 'px4demo_Read_Parameter'

2 commentaires

Hello,
Can you confirm that you have run the PX4 Hardware setup screens and inserted an SD card to Pixhawk 1 with custom startup script as described here?
Also, please check that the Enable MAVLink checkbox in the Configuration parameters are not selected.
Ankur
yes i did all of the above, yet i still get the same error code

Connectez-vous pour commenter.

Réponses (1)

Remo Pillat
Remo Pillat le 19 Juil 2024
Modifié(e) : Remo Pillat le 19 Juil 2024

0 votes

It has been a few years since this question was raised. If you still face errors or problems, please reach out to MathWorks Support, so we can take a closer look at your software and hardware configuration.

Produits

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by