PX4 Attitude Control
7 views (last 30 days)
Show older comments
farah bouzidi on 20 Mar 2022
Answered: Ankur Bose on 22 Mar 2022
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 ?
Ankur Bose on 22 Mar 2022
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
Find more on UAV in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!