aboutsummaryrefslogtreecommitdiff
path: root/apps/px4io/px4io.h
diff options
context:
space:
mode:
authorSimon Wilks <sjwilks@gmail.com>2013-01-05 22:13:12 +0100
committerSimon Wilks <sjwilks@gmail.com>2013-01-05 22:13:12 +0100
commit0a89ab7075e4d637c91e21246c4790599f046aec (patch)
treeb21cc275b31a2b85892f5869c9426c15488b7886 /apps/px4io/px4io.h
parent1b81724ef7d9c1424b493740d887e6c3ce259f38 (diff)
downloadpx4-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/px4io.h')
-rw-r--r--apps/px4io/px4io.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/apps/px4io/px4io.h b/apps/px4io/px4io.h
index fef0a9ba4..ef1584026 100644
--- a/apps/px4io/px4io.h
+++ b/apps/px4io/px4io.h
@@ -73,6 +73,20 @@ struct sys_state_s {
uint16_t servo_rate; /* output rate of servos in Hz */
/**
+ * Remote control input(s) channel mappings
+ */
+ uint16_t rc_map[4];
+
+ /**
+ * Remote control channel attributes
+ */
+ uint16_t rc_min[4];
+ uint16_t rc_trim[4];
+ uint16_t rc_max[4];
+ uint16_t rc_rev[4];
+ uint16_t rc_dz[4];
+
+ /**
* Data from the remote control input(s)
*/
unsigned rc_channels;