11uint64 timestamp # time since system start (microseconds)
22
3- uint8 SWITCH_POS_NONE = 0 # switch is not mapped
4- uint8 SWITCH_POS_ON = 1 # switch activated (value = 1)
5- uint8 SWITCH_POS_MIDDLE = 2 # middle position (value = 0)
6- uint8 SWITCH_POS_OFF = 3 # switch not activated (value = -1)
7- uint8 MODE_SLOT_NONE = 0 # no mode slot assigned
8- uint8 MODE_SLOT_1 = 1 # mode slot 1 selected
9- uint8 MODE_SLOT_2 = 2 # mode slot 2 selected
10- uint8 MODE_SLOT_3 = 3 # mode slot 3 selected
11- uint8 MODE_SLOT_4 = 4 # mode slot 4 selected
12- uint8 MODE_SLOT_5 = 5 # mode slot 5 selected
13- uint8 MODE_SLOT_6 = 6 # mode slot 6 selected
14- uint8 MODE_SLOT_NUM = 6 # number of slots
3+ uint64 timestamp_sample # the timestamp of the raw data (microseconds)
4+
155uint8 SOURCE_RC = 1 # radio control
166uint8 SOURCE_MAVLINK_0 = 2 # mavlink instance 0
177uint8 SOURCE_MAVLINK_1 = 3 # mavlink instance 1
188uint8 SOURCE_MAVLINK_2 = 4 # mavlink instance 2
199uint8 SOURCE_MAVLINK_3 = 5 # mavlink instance 4
2010
11+ uint8 data_source # where this input is coming from
12+
2113# Any of the channels may not be available and be set to NaN
2214# to indicate that it does not contain valid data.
2315# The variable names follow the definition of the
@@ -30,38 +22,28 @@ float32 x # stick position in x direction -1..1
3022 # in general corresponds to forward/back motion or pitch of vehicle,
3123 # in general a positive value means forward or negative pitch and
3224 # a negative value means backward or positive pitch
25+
3326float32 y # stick position in y direction -1..1
3427 # in general corresponds to right/left motion or roll of vehicle,
3528 # in general a positive value means right or positive roll and
3629 # a negative value means left or negative roll
30+
3731float32 z # throttle stick position 0..1
3832 # in general corresponds to up/down motion or thrust of vehicle,
3933 # in general the value corresponds to the demanded throttle by the user,
4034 # if the input is used for setting the setpoint of a vertical position
4135 # controller any value > 0.5 means up and any value < 0.5 means down
36+
4237float32 r # yaw stick/twist position, -1..1
4338 # in general corresponds to the righthand rotation around the vertical
4439 # (downwards) axis of the vehicle
40+
4541float32 flaps # flap position
42+
4643float32 aux1 # default function: camera yaw / azimuth
4744float32 aux2 # default function: camera pitch / tilt
4845float32 aux3 # default function: camera trigger
4946float32 aux4 # default function: camera roll
5047float32 aux5 # default function: payload drop
5148float32 aux6
5249
53- uint8 mode_switch # main mode 3 position switch (mandatory): _MANUAL_, ASSIST, AUTO
54- uint8 return_switch # return to launch 2 position switch (mandatory): _NORMAL_, RTL
55- uint8 rattitude_switch # rattitude control 2 position switch (optional): _MANUAL, RATTITUDE
56- uint8 posctl_switch # position control 2 position switch (optional): _ALTCTL_, POSCTL
57- uint8 loiter_switch # loiter 2 position switch (optional): _MISSION_, LOITER
58- uint8 acro_switch # acro 2 position switch (optional): _MANUAL_, ACRO
59- uint8 offboard_switch # offboard 2 position switch (optional): _NORMAL_, OFFBOARD
60- uint8 kill_switch # throttle kill: _NORMAL_, KILL
61- uint8 arm_switch # arm/disarm switch: _DISARMED_, ARMED
62- uint8 transition_switch # VTOL transition switch: _HOVER, FORWARD_FLIGHT
63- uint8 gear_switch # landing gear switch: _DOWN_, UP
64- uint8 mode_slot # the slot a specific model selector is in
65- uint8 data_source # where this input is coming from
66- uint8 stab_switch # stabilize switch (only relevant for fixed wings, optional): _MANUAL, STABILIZED
67- uint8 man_switch # manual switch (only relevant for fixed wings, optional): _STABILIZED_, MANUAL
0 commit comments