diff options
author | Thomas Gubler <thomasgubler@gmail.com> | 2014-12-01 16:39:27 +0100 |
---|---|---|
committer | Thomas Gubler <thomasgubler@gmail.com> | 2014-12-01 16:39:27 +0100 |
commit | 8b5bc703a11805cada41e06b5e2327d0796ec0e5 (patch) | |
tree | 7ce9482b867ec2a35cd1b3d6d4c8fcb0e580c4f4 /msg/px4_msgs/rc_channels.msg | |
parent | 6b695ac9e8be9e7fe480238c967316366cba444c (diff) | |
download | px4-firmware-8b5bc703a11805cada41e06b5e2327d0796ec0e5.tar.gz px4-firmware-8b5bc703a11805cada41e06b5e2327d0796ec0e5.tar.bz2 px4-firmware-8b5bc703a11805cada41e06b5e2327d0796ec0e5.zip |
initial version of msg to uorb script
Standard and embedded types work, may need small refinements for some
types
Diffstat (limited to 'msg/px4_msgs/rc_channels.msg')
-rw-r--r-- | msg/px4_msgs/rc_channels.msg | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/msg/px4_msgs/rc_channels.msg b/msg/px4_msgs/rc_channels.msg new file mode 100644 index 000000000..aaa6696f9 --- /dev/null +++ b/msg/px4_msgs/rc_channels.msg @@ -0,0 +1,24 @@ +int32 RC_CHANNELS_FUNCTION_MAX=18 +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 +uint64 timestamp_last_valid # Timestamp of last valid RC signal +float32[18] channels # Scaled to -1..1 (throttle: 0..1) +uint8 channel_count # Number of valid channels +int8[18] function # Functions mapping +uint8 rssi # Receive signal strength index +bool signal_lost # Control signal lost, should be checked together with topic timeout +actuator_armed actuator |