msg: introduce message versioning

This commit is contained in:
GuillaumeLaine
2024-12-13 16:34:37 +01:00
committed by Beat Küng
parent f9140fcd50
commit 4fe7d713d3
28 changed files with 100 additions and 33 deletions
+15
View File
@@ -0,0 +1,15 @@
# VEHICLE_VTOL_STATE, should match 1:1 MAVLinks's MAV_VTOL_STATE
uint32 MESSAGE_VERSION = 0
uint8 VEHICLE_VTOL_STATE_UNDEFINED = 0
uint8 VEHICLE_VTOL_STATE_TRANSITION_TO_FW = 1
uint8 VEHICLE_VTOL_STATE_TRANSITION_TO_MC = 2
uint8 VEHICLE_VTOL_STATE_MC = 3
uint8 VEHICLE_VTOL_STATE_FW = 4
uint64 timestamp # time since system start (microseconds)
uint8 vehicle_vtol_state # current state of the vtol, see VEHICLE_VTOL_STATE
bool fixed_wing_system_failure # vehicle in fixed-wing system failure failsafe mode (after quad-chute)