PX4 Attitude Control

hello everyone,
am using this exemple ( from px4 UAV tool box ) to run the model on my PX4 but when i add the Read attitude blocks (the one marked in yellow) motors doesn’t turn ( but when i use it without the block it works
any ideas about the reason why it didn’t work ?
thank you

Risposte (1)

Ankur Bose
Ankur Bose il 22 Mar 2022

1 voto

Enusre that you are receiving valid quaternion data from the block i.e in the quaternion (q1, q2, q3, q4) q1 != 0. The block can return such values when it is not receiving values from stack. Use the status output to filter the outputs. Run External Mode simulation to view the quaternion data

Richiesto:

il 20 Mar 2022

Risposto:

il 22 Mar 2022

Community Treasure Hunt

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

Start Hunting!

Translated by