2014-12-01 11:39:27 -04:00
|
|
|
uint8 RC_CHANNELS_FUNCTION_THROTTLE=0
|
|
|
|
uint8 RC_CHANNELS_FUNCTION_ROLL=1
|
|
|
|
uint8 RC_CHANNELS_FUNCTION_PITCH=2
|
|
|
|
uint8 RC_CHANNELS_FUNCTION_YAW=3
|
|
|
|
uint8 RC_CHANNELS_FUNCTION_MODE=4
|
|
|
|
uint8 RC_CHANNELS_FUNCTION_RETURN=5
|
|
|
|
uint8 RC_CHANNELS_FUNCTION_POSCTL=6
|
|
|
|
uint8 RC_CHANNELS_FUNCTION_LOITER=7
|
|
|
|
uint8 RC_CHANNELS_FUNCTION_OFFBOARD=8
|
|
|
|
uint8 RC_CHANNELS_FUNCTION_ACRO=9
|
|
|
|
uint8 RC_CHANNELS_FUNCTION_FLAPS=10
|
|
|
|
uint8 RC_CHANNELS_FUNCTION_AUX_1=11
|
|
|
|
uint8 RC_CHANNELS_FUNCTION_AUX_2=12
|
|
|
|
uint8 RC_CHANNELS_FUNCTION_AUX_3=13
|
|
|
|
uint8 RC_CHANNELS_FUNCTION_AUX_4=14
|
|
|
|
uint8 RC_CHANNELS_FUNCTION_AUX_5=15
|
2015-01-05 10:23:12 -04:00
|
|
|
uint8 RC_CHANNELS_FUNCTION_PARAM_1=16
|
|
|
|
uint8 RC_CHANNELS_FUNCTION_PARAM_2=17
|
|
|
|
uint8 RC_CHANNELS_FUNCTION_PARAM_3_5=18
|
2015-10-20 21:38:42 -03:00
|
|
|
uint8 RC_CHANNELS_FUNCTION_RATTITUDE=19
|
2015-12-19 00:21:51 -04:00
|
|
|
uint8 RC_CHANNELS_FUNCTION_KILLSWITCH=20
|
2016-07-19 06:37:54 -03:00
|
|
|
uint8 RC_CHANNELS_FUNCTION_TRANSITION=21
|
2016-10-20 13:12:09 -03:00
|
|
|
uint8 RC_CHANNELS_FUNCTION_GEAR=22
|
2016-11-28 06:29:58 -04:00
|
|
|
uint8 RC_CHANNELS_FUNCTION_ARMSWITCH=23
|
2017-02-07 13:11:36 -04:00
|
|
|
uint8 RC_CHANNELS_FUNCTION_STAB=24
|
|
|
|
uint8 RC_CHANNELS_FUNCTION_MAN=25
|
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
|
2017-02-07 13:11:36 -04:00
|
|
|
int8[26] function # Functions mapping
|
|
|
|
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
|