29 #ifndef AUTOPILOT_ARMING_THROTTLE_H
30 #define AUTOPILOT_ARMING_THROTTLE_H
34 #define AUTOPILOT_ARMING_DELAY 10
#define THROTTLE_STICK_DOWN()
#define AP_MODE_KILL
Static autopilot modes.
enum arming_throttle_state autopilot_arming_state
static bool rc_attitude_sticks_centered(void)
Convenience macro for 3way switch.
static void autopilot_arming_set(bool motors_on)
uint8_t autopilot_arming_delay_counter
static void autopilot_arming_check_motors_on(void)
State machine to check if motors should be turned ON or OFF.
struct pprz_autopilot autopilot
Global autopilot structure.
#define MODE_MANUAL
Default RC mode.
#define AUTOPILOT_ARMING_DELAY
Some helper functions to check RC sticks.
bool motors_on
motor status
bool autopilot_unarmed_in_auto
static void autopilot_arming_init(void)
uint8_t autopilot_get_mode(void)
get autopilot mode