Does MathWorks provide any tools for automatically generating flight code for the Pixhawk platform?
이전 댓글 표시
I am using the Pixhawk autopilot system designed by the PX4 open-hardware project by 3D Robotics. Is there an existing Simulink library block-set for generating embedded C-code from Simulink for this platform?
댓글 수: 1
MathWorks Aerospace Products Team
2016년 2월 26일
편집: MathWorks Aerospace Products Team
2016년 3월 1일
채택된 답변
추가 답변 (6개)
Abhishek GS
2019년 3월 29일
2 개 추천
Hi All,
The official support package - 'Embedded Coder support Package for PX4 Autopilots' is now live from R2018b onwards.
Ahmad Drak
2016년 7월 14일
0 개 추천
is there a release for ubuntu? running matlab 2016a?
댓글 수: 2
Walter Roberson
2016년 7월 14일
Sorry, at present (early July 2016) it is only MS Windows.
I think R2016a is supported, but I am not positive.
Ahmad Drak
2016년 7월 17일
2016a is not supported. Only 2015b
Balaji Balasubramaniam
2017년 6월 14일
0 개 추천
I am getting the following error: "Failed to load library 'AR_Drone_Positioning' referenced by 'Green_Ball_Tracking_Mounted/Flight Controller'". Can you please help?
Stephen Warwick
2018년 3월 26일
0 개 추천
Are there plans to upgrade PSP support for MATLAB 2017b?
댓글 수: 4
Ningjun Liu
2018년 4월 28일
Or probably support for Pixhawk2? That controller has more redundancy and better connectors.
Mahmud Khan
2018년 8월 24일
The update you asked for has been released.
https://uk.mathworks.com/hardware-support/pixhawk.html
Daniel
2018년 8월 27일
hi Mahmud, thanks for that answer. Yes the PSP has been updated to support R2017a/b. My own question is, where can I find an updated userguide to enable me setup the pixhawk psp on R2017a. The only one availabe/or which i've seen onliine is the one released in February 2017 appicable to matlab R2016. Thanks.
Walter Roberson
2018년 8월 27일
"This support package is available for 64-bit Microsoft® Windows® and Linux. This version of the support package is compatible with MATLAB R2017a and R2017b. It also works in MATLAB R2018a with limitations to External Mode functionality."
jone1984
2018년 10월 5일
0 개 추천
My OS is win10, Matlab is 2017b
these were what i have done and met:
download bash,install it.
download PSP, install it in matlab,
download Python, install it.
In the PSP UI, validate path, no problem. push download firmware button, after a whole night ,finished, on problem.
If i push the 'save setting and exit' button first ,error will tell no firmware, so I download firmware first.
install other tools by running 'windows_bash_nuttx.sh', error met as below:

do not know how to fix it.
then push build button ,met these message:

can not go on, how can i fix these?
댓글 수: 1
Matija Krznar
2019년 2월 3일
They have created this script with windows editor and because of that linux have problems with space and newline.
Install a tool dos2unix and run it on script.
install:
sudo apt-get update
sudo apt-get install dos2unix
then use it on script:
dos2unix windows_bash_nuttx.sh
it worked for me.
Stephen Warwick
2018년 11월 29일
0 개 추천
Is support for R2018b planned in the near future? Will this block set be regularly updated for new versions. Just curious whether I should migrate or not to the newer version of Matlab/Simulink. Thank you
댓글 수: 1
Mahmud Khan
2019년 2월 7일
I can't even make it work with R2017a (yet).
I followed the instructions provided in the download page. It results in this error during the installation and its not like there's any support material/group to help anyone through all that.
Did you get to try it out?
카테고리
도움말 센터 및 File Exchange에서 PX4 Autopilots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!