diff options
author | Simon Wilks <sjwilks@gmail.com> | 2013-01-05 22:13:12 +0100 |
---|---|---|
committer | Simon Wilks <sjwilks@gmail.com> | 2013-01-05 22:13:12 +0100 |
commit | 0a89ab7075e4d637c91e21246c4790599f046aec (patch) | |
tree | b21cc275b31a2b85892f5869c9426c15488b7886 /apps/px4io/protocol.h | |
parent | 1b81724ef7d9c1424b493740d887e6c3ce259f38 (diff) | |
download | px4-firmware-0a89ab7075e4d637c91e21246c4790599f046aec.tar.gz px4-firmware-0a89ab7075e4d637c91e21246c4790599f046aec.tar.bz2 px4-firmware-0a89ab7075e4d637c91e21246c4790599f046aec.zip |
Send rc channel ordering and channel attributes from FMU to IO
Diffstat (limited to 'apps/px4io/protocol.h')
-rw-r--r-- | apps/px4io/protocol.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/apps/px4io/protocol.h b/apps/px4io/protocol.h index 3a049bb29..2632604ca 100644 --- a/apps/px4io/protocol.h +++ b/apps/px4io/protocol.h @@ -59,7 +59,13 @@ struct px4io_command { bool relay_state[PX4IO_RELAY_CHANNELS]; /**< relay states as requested by FMU */ bool arm_ok; /**< FMU allows full arming */ bool vector_flight_mode_ok; /**< FMU aquired a valid position lock, ready for pos control */ - bool manual_override_ok; /**< if true, IO performs a direct manual override */ + bool manual_override_ok; /**< if true, IO performs a direct manual override */ + uint16_t rc_map[4]; /**< channel ordering of roll, pitch, yaw, throttle */ + uint16_t rc_min[4]; /**< min value for each channel */ + uint16_t rc_trim[4]; /**< trim value for each channel */ + uint16_t rc_max[4]; /**< max value for each channel */ + uint16_t rc_rev[4]; /**< rev value for each channel */ + uint16_t rc_dz[4]; /**< dz value for each channel */ }; /** |