How to troubleshoot pixhawk build error problem during executing example file?
显示 更早的评论
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.
回答(2 个)
준호
2025-1-19
移动:Angelo Yeo
2025-1-20
1 个投票
3 个评论
ness
2025-2-4
hello, i have the same problem my path of the firmware is: \\wsl.localhost\Ubuntu-22.04\home\nesserine\PX4-Autopilot. and what do you mean by not executing bash ./ubuntu.sh command. Could you provid me more steps please .
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
ness
2025-2-6
Yes, it works perfectly now, thank you so much for your help.
类别
在 帮助中心 和 File Exchange 中查找有关 Aerospace and Defense 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
