MATLAB Answers

Pixhawk PSP , problem with my model

1 view (last 30 days)
I have made a simple model ('in Normal mode') to give pwm signals to the ESC's .
example_model.PNG
When i build this model i get a error : 'undefined reference to' px4_ioctl. and some of the makefiles error.
I have followed all the procedure while configuration ,as given in the pixhawk pilot support doc (for MATLAB 2017b).I have used constants and the converted them to uint16 to make it compatible with the pwm block.
it builds till 98% and gives me the error

  0 Comments

Sign in to comment.

Accepted Answer

Abhishek GS
Abhishek GS on 2 Apr 2019
Edited: Abhishek GS on 2 Apr 2019
Hi Tejas,
The official support package 'Embedded Coder Support Package for PX4 Autopilots' is now available from R2018b onwards.
Refer the documentation on getting started with the official support package.
The above mentioned issues should be solved.
~Abhishek

  0 Comments

Sign in to comment.

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!