mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-16 09:13:35 +08:00
ALTCTRL/POSCTRL renamed to ALTCTL/POSCTL
This commit is contained in:
@@ -77,8 +77,8 @@ struct manual_control_setpoint_s {
|
||||
float aux5; /**< default function: payload drop */
|
||||
|
||||
switch_pos_t mode_switch; /**< mode 3 position switch (mandatory): manual, assisted, auto */
|
||||
switch_pos_t return_switch; /**< rturn to launch 2 position switch (mandatory): no effect, return */
|
||||
switch_pos_t posctrl_switch; /**< posctrl 2 position switch (optional): altctrl, posctrl */
|
||||
switch_pos_t return_switch; /**< rturn to launch 2 position switch (mandatory): normal, return */
|
||||
switch_pos_t posctl_switch; /**< posctrl 2 position switch (optional): altctl, posctl */
|
||||
switch_pos_t loiter_switch; /**< mission 2 position switch (optional): mission, loiter */
|
||||
}; /**< manual control inputs */
|
||||
|
||||
|
||||
@@ -63,8 +63,8 @@
|
||||
/* main state machine */
|
||||
typedef enum {
|
||||
MAIN_STATE_MANUAL = 0,
|
||||
MAIN_STATE_ALTCTRL,
|
||||
MAIN_STATE_POSCTRL,
|
||||
MAIN_STATE_ALTCTL,
|
||||
MAIN_STATE_POSCTL,
|
||||
MAIN_STATE_AUTO,
|
||||
MAIN_STATE_MAX
|
||||
} main_state_t;
|
||||
|
||||
Reference in New Issue
Block a user