Skip to content

VtolVehicleStatus (UORB message)

VEHICLE_VTOL_STATE, should match 1:1 MAVLinks's MAV_VTOL_STATE.

TOPICS: vtol_vehiclestatus

Fields

NameTypeUnit [Frame]Range/EnumDescription
timestampuint64time since system start (microseconds)
vehicle_vtol_stateuint8current state of the vtol, see VEHICLE_VTOL_STATE
fixed_wing_system_failureboolvehicle in fixed-wing system failure failsafe mode (after quad-chute)

Constants

NameTypeValueDescription
MESSAGE_VERSIONuint320
VEHICLE_VTOL_STATE_UNDEFINEDuint80
VEHICLE_VTOL_STATE_TRANSITION_TO_FWuint81
VEHICLE_VTOL_STATE_TRANSITION_TO_MCuint82
VEHICLE_VTOL_STATE_MCuint83
VEHICLE_VTOL_STATE_FWuint84

Source Message

Source file (GitHub)

Click here to see original file
c
# 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)