mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
Using mixers on the IO side had a remote benefit of being able to override all control surfaces with a radio remote on a fixed wing. This ended up not being used that much and since the original design 10 years ago (2011) we have been able to convince ourselves that the overall system stability is at a level where this marginal benefit, which is not present on multicopters, is not worth the hazzle. Co-authored-by: Beat Küng <beat-kueng@gmx.net> Co-authored-by: Daniel Agar <daniel@agar.ca>
30 lines
1.5 KiB
Plaintext
30 lines
1.5 KiB
Plaintext
uint64 timestamp # time since system start (microseconds)
|
|
|
|
uint64 timestamp_sample # the timestamp of the raw data (microseconds)
|
|
|
|
uint8 SWITCH_POS_NONE = 0 # switch is not mapped
|
|
uint8 SWITCH_POS_ON = 1 # switch activated (value = 1)
|
|
uint8 SWITCH_POS_MIDDLE = 2 # middle position (value = 0)
|
|
uint8 SWITCH_POS_OFF = 3 # switch not activated (value = -1)
|
|
|
|
uint8 MODE_SLOT_NONE = 0 # no mode slot assigned
|
|
uint8 MODE_SLOT_1 = 1 # mode slot 1 selected
|
|
uint8 MODE_SLOT_2 = 2 # mode slot 2 selected
|
|
uint8 MODE_SLOT_3 = 3 # mode slot 3 selected
|
|
uint8 MODE_SLOT_4 = 4 # mode slot 4 selected
|
|
uint8 MODE_SLOT_5 = 5 # mode slot 5 selected
|
|
uint8 MODE_SLOT_6 = 6 # mode slot 6 selected
|
|
uint8 MODE_SLOT_NUM = 6 # number of slots
|
|
|
|
uint8 mode_slot # the slot a specific model selector is in
|
|
|
|
uint8 arm_switch # arm/disarm switch: _DISARMED_, ARMED
|
|
uint8 return_switch # return to launch 2 position switch (mandatory): _NORMAL_, RTL
|
|
uint8 loiter_switch # loiter 2 position switch (optional): _MISSION_, LOITER
|
|
uint8 offboard_switch # offboard 2 position switch (optional): _NORMAL_, OFFBOARD
|
|
uint8 kill_switch # throttle kill: _NORMAL_, KILL
|
|
uint8 gear_switch # landing gear switch: _DOWN_, UP
|
|
uint8 transition_switch # VTOL transition switch: _HOVER, FORWARD_FLIGHT
|
|
|
|
uint32 switch_changes # number of switch changes
|