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 Comments

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

Sign in to comment.

Answers (1)

Remo Pillat
Remo Pillat on 19 Jul 2024
Edited: Remo Pillat on 19 Jul 2024
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.

Products

Tags

Asked:

on 16 Nov 2020

Edited:

on 19 Jul 2024

Community Treasure Hunt

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

Start Hunting!