Building Cube Orange Model by Simulink
조회 수: 3 (최근 30일)
이전 댓글 표시
Dear developers and users.
I am now working on HITL Simulation with PX4 Cube Orange. I am currently working from the example in the following link (https://jp.mathworks.com/help/supportpkg/px4/ref/hitl-simulink-plant-example.html), but I am having problems with uploading the models.
At method 1; Step3_2 in the example, it says just to click BUILD, DEPLOY & START. However, when I click it, the following error occures.
Generating ELF failed for command "C:\PX4\run-console_Simulink.bat "
(... omission ...)
arm-none-eabi-g++.exe: error: ROMFS/libromfs.a: No such file or directory
PX4 Cygwin returned an error of 1
Are there any other apps than is written in the examples required to run this example? Or, are there some place I have to check?
Thank you for your kind help.
댓글 수: 0
답변 (1개)
Arun Mathamkode
2023년 12월 12일
Other than the Cygwin toolchain and PX4 Firmware sources there are no additional dependencies required to deploy the code from Simulink to PX4 Autopilot. In your case, I would recommend building the cube_orange_default cmake from PX4 Hardware setup screens. You can start the hardware setup by opening the Add-On Manager. In the Add-On Manager, start the hardware setup process by clicking the Setup icon. Make sure that the build is successful in the Build firmware Hardware setup screen. Once the build is successful then try Build Deploy and Start from Simulink
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!