mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-21 04:13:34 +08:00
Add prototypical support for Spektrum satellite remotes to PX4IO.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user