2018-08-06 21:30:05 -03:00
|
|
|
uint64 timestamp # time since system start (microseconds)
|
|
|
|
|
2021-08-31 04:02:53 -03:00
|
|
|
uint8 FUNCTION_THROTTLE = 0
|
|
|
|
uint8 FUNCTION_ROLL = 1
|
|
|
|
uint8 FUNCTION_PITCH = 2
|
|
|
|
uint8 FUNCTION_YAW = 3
|
2021-08-16 14:10:52 -03:00
|
|
|
uint8 FUNCTION_RETURN = 4
|
|
|
|
uint8 FUNCTION_LOITER = 5
|
|
|
|
uint8 FUNCTION_OFFBOARD = 6
|
|
|
|
uint8 FUNCTION_FLAPS = 7
|
|
|
|
uint8 FUNCTION_AUX_1 = 8
|
|
|
|
uint8 FUNCTION_AUX_2 = 9
|
|
|
|
uint8 FUNCTION_AUX_3 = 10
|
|
|
|
uint8 FUNCTION_AUX_4 = 11
|
|
|
|
uint8 FUNCTION_AUX_5 = 12
|
|
|
|
uint8 FUNCTION_AUX_6 = 13
|
|
|
|
uint8 FUNCTION_PARAM_1 = 14
|
|
|
|
uint8 FUNCTION_PARAM_2 = 15
|
|
|
|
uint8 FUNCTION_PARAM_3_5 = 16
|
|
|
|
uint8 FUNCTION_KILLSWITCH = 17
|
|
|
|
uint8 FUNCTION_TRANSITION = 18
|
|
|
|
uint8 FUNCTION_GEAR = 19
|
|
|
|
uint8 FUNCTION_ARMSWITCH = 20
|
|
|
|
uint8 FUNCTION_FLTBTN_SLOT_1 = 21
|
|
|
|
uint8 FUNCTION_FLTBTN_SLOT_2 = 22
|
|
|
|
uint8 FUNCTION_FLTBTN_SLOT_3 = 23
|
|
|
|
uint8 FUNCTION_FLTBTN_SLOT_4 = 24
|
|
|
|
uint8 FUNCTION_FLTBTN_SLOT_5 = 25
|
|
|
|
uint8 FUNCTION_FLTBTN_SLOT_6 = 26
|
2022-08-16 12:32:57 -03:00
|
|
|
uint8 FUNCTION_ENGAGE_MAIN_MOTOR = 27
|
2021-08-31 04:02:53 -03:00
|
|
|
|
|
|
|
uint8 FUNCTION_FLTBTN_SLOT_COUNT = 6
|
2016-04-25 18:36:13 -03:00
|
|
|
|
2014-12-01 11:39:27 -04:00
|
|
|
uint64 timestamp_last_valid # Timestamp of last valid RC signal
|
2015-12-19 00:21:51 -04:00
|
|
|
float32[18] channels # Scaled to -1..1 (throttle: 0..1)
|
2014-12-01 11:39:27 -04:00
|
|
|
uint8 channel_count # Number of valid channels
|
2022-08-16 12:32:57 -03:00
|
|
|
int8[28] function # Functions mapping
|
2017-02-07 13:11:36 -04:00
|
|
|
uint8 rssi # Receive signal strength index
|
2014-12-01 11:39:27 -04:00
|
|
|
bool signal_lost # Control signal lost, should be checked together with topic timeout
|
2015-12-03 12:18:15 -04:00
|
|
|
uint32 frame_drop_count # Number of dropped frames
|