Browse Source

fix RC_CHANNELS_FUNCTION_MAX

sbg
Thomas Gubler 10 years ago
parent
commit
9c06450d94
  1. 6
      msg/rc_channels.msg

6
msg/rc_channels.msg

@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
int32 RC_CHANNELS_FUNCTION_MAX=18
int32 RC_CHANNELS_FUNCTION_MAX=19
uint8 RC_CHANNELS_FUNCTION_THROTTLE=0
uint8 RC_CHANNELS_FUNCTION_ROLL=1
uint8 RC_CHANNELS_FUNCTION_PITCH=2
@ -20,8 +20,8 @@ uint8 RC_CHANNELS_FUNCTION_PARAM_2=17 @@ -20,8 +20,8 @@ uint8 RC_CHANNELS_FUNCTION_PARAM_2=17
uint8 RC_CHANNELS_FUNCTION_PARAM_3_5=18
uint64 timestamp # Timestamp in microseconds since boot time
uint64 timestamp_last_valid # Timestamp of last valid RC signal
float32[18] channels # Scaled to -1..1 (throttle: 0..1)
float32[19] channels # Scaled to -1..1 (throttle: 0..1)
uint8 channel_count # Number of valid channels
int8[18] function # Functions mapping
int8[19] function # Functions mapping
uint8 rssi # Receive signal strength index
bool signal_lost # Control signal lost, should be checked together with topic timeout

Loading…
Cancel
Save