I just fixed this problem by installing PX4-Autopilot firmware to the Linux home directory(not windows directory) and not executing bash ./ubuntu.sh command.
How to troubleshoot pixhawk build error problem during executing example file?
5 ビュー (過去 30 日間)
古いコメントを表示
Hello,
I followed the steps outlined in the link above, and the diagnostic results showed the following:


An error occurred stating that the index exceeds the array bounds. I tried looking for a solution to this issue but couldn't find any relevant sources. If anyone knows how to resolve this problem, please let me know.
0 件のコメント
回答 (2 件)
준호
2025 年 1 月 19 日
移動済み: Angelo Yeo
2025 年 1 月 20 日
3 件のコメント
Ankur Bose
2025 年 2 月 6 日
Run the following command in the MATLAB command Window. This will unblock you from the error you are facing
setpref('MW_PX4_Build','FullFirmwareBuild',true)
We are working on a fix for this issue
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
