Add prototypical support for Spektrum satellite remotes to PX4IO.

This commit is contained in:
px4dev
2012-11-05 00:55:45 -08:00
parent 87fd9fcc06
commit 39659e57f8
7 changed files with 316 additions and 45 deletions
+12
View File
@@ -62,6 +62,18 @@ struct px4io_command {
bool arm_ok;
};
/* config message from FMU to IO */
struct px4io_config {
uint16_t f2i_config_magic;
#define F2I_CONFIG_MAGIC 0x6366
uint8_t serial_rx_mode;
#define RX_MODE_PPM_ONLY 0
#define RX_MODE_SPEKTRUM_6 1
#define RX_MODE_SPEKTRUM_7 2
#define RX_MODE_FUTABA_SBUS 3
};
/* report from IO to FMU */
struct px4io_report {
uint16_t i2f_magic;