PX4 Attitude Control

6 次查看(过去 30 天)
farah bouzidi
farah bouzidi 2022-3-20
回答: Ankur Bose 2022-3-22
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

回答(1 个)

Ankur Bose
Ankur Bose 2022-3-22
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

Community Treasure Hunt

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

Start Hunting!

Translated by