aboutsummaryrefslogtreecommitdiff
path: root/msg
diff options
context:
space:
mode:
authorThomas Gubler <thomasgubler@gmail.com>2015-01-05 15:31:56 +0100
committerThomas Gubler <thomasgubler@gmail.com>2015-01-05 15:33:15 +0100
commit9c06450d94a2a462872e5e59ac5285c2d7fe6323 (patch)
tree9ff6e17c614cb264589bedbaf56277a225ad9285 /msg
parent7507e4a4b5dd11bc23fd3ccebc9bcf3aa1162821 (diff)
downloadpx4-firmware-9c06450d94a2a462872e5e59ac5285c2d7fe6323.tar.gz
px4-firmware-9c06450d94a2a462872e5e59ac5285c2d7fe6323.tar.bz2
px4-firmware-9c06450d94a2a462872e5e59ac5285c2d7fe6323.zip
fix RC_CHANNELS_FUNCTION_MAX
Diffstat (limited to 'msg')
-rw-r--r--msg/rc_channels.msg6
1 files changed, 3 insertions, 3 deletions
diff --git a/msg/rc_channels.msg b/msg/rc_channels.msg
index 861f3dcaa..0fa5ed2fc 100644
--- a/msg/rc_channels.msg
+++ b/msg/rc_channels.msg
@@ -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
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