diff options
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 */ }; /** |