29 #ifndef AUTOPILOT_ARMING_YAW_H
30 #define AUTOPILOT_ARMING_YAW_H
38 #ifndef MOTOR_ARMING_DELAY
39 #define MOTOR_ARMING_DELAY 40
#define THROTTLE_STICK_DOWN()
uint32_t autopilot_motors_on_counter
static void autopilot_arming_set(bool motors_on)
Update the status of the check_motors state machine.
#define AP_MODE_KILL
Static autopilot modes.
enum arming_state autopilot_check_motor_status
#define MOTOR_ARMING_DELAY
Delay until motors are armed/disarmed.
struct pprz_autopilot autopilot
Global autopilot structure.
Some helper functions to check RC sticks.
#define ROLL_STICK_CENTERED()
static void autopilot_arming_check_motors_on(void)
State machine to check if motors should be turned ON or OFF.
#define YAW_STICK_CENTERED()
#define PITCH_STICK_CENTERED()
bool motors_on
motor status
#define YAW_STICK_PUSHED()
static void autopilot_arming_init(void)
uint8_t autopilot_get_mode(void)
get autopilot mode