How to troubleshoot pixhawk build error problem during executing example file?

8 visualizaciones (últimos 30 días)
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.

Respuestas (2)

준호
준호 el 19 de En. de 2025
Movida: Angelo Yeo el 20 de En. de 2025
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.
  3 comentarios
Ankur Bose
Ankur Bose el 6 de Feb. de 2025
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
ness el 6 de Feb. de 2025
Yes, it works perfectly now, thank you so much for your help.

Iniciar sesión para comentar.


준호
준호 el 4 de Feb. de 2025
Hello,
I have another problem, that is QGroundControl doesn't recognize a pixhawk board when px4 firmware was built from MATLAB(version 1.14.0) and I found that Mavlink messages can not be received like below.
How can I fix this problem?

Etiquetas

Productos


Versión

R2024b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by