ATTITUDE_QUATERNION: fill repr_offset_q for tailsitters (#13249)

* Conversions lib: add quaternion getter

* vehicle_status: add flag is_vtol_tailsitter

* ATTITUDE_QUATERNION: fill repr_offset_q for tailsitters
This commit is contained in:
Julien Lecoeur
2019-10-28 09:27:53 +01:00
committed by Julian Oes
parent 380cae18d1
commit 8f910f8435
7 changed files with 50 additions and 2 deletions
+1
View File
@@ -71,6 +71,7 @@ uint8 vehicle_type # Type of vehicle (fixed-wing, rotary wing, ground)
# and VEHICLE_TYPE_FIXED_WING when flying as a fixed-wing
bool is_vtol # True if the system is VTOL capable
bool is_vtol_tailsitter # True if the system performs a 90° pitch down rotation during transition from MC to FW
bool vtol_fw_permanent_stab # True if VTOL should stabilize attitude for fw in manual mode
bool in_transition_mode # True if VTOL is doing a transition
bool in_transition_to_fw # True if VTOL is doing a transition from MC to FW