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!