|
Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the documentation of this file.
29 #ifndef AUTOPILOT_ARMING_THROTTLE_H
30 #define AUTOPILOT_ARMING_THROTTLE_H
35 #define AUTOPILOT_ARMING_DELAY 10
#define AP_ARMING_STATUS_NOT_MODE_MANUAL
#define THROTTLE_STICK_DOWN()
#define AP_ARMING_STATUS_THROTTLE_DOWN
#define AUTOPILOT_ARMING_DELAY
static void autopilot_arming_set(bool motors_on)
#define AP_ARMING_STATUS_THROTTLE_NOT_DOWN
#define AP_MODE_KILL
Static autopilot modes.
#define YAW_STICK_CENTERED()
static bool autopilot_arming_check_valid(void)
Checks all arm requirements and returns true if OK and false otherwise.
static void autopilot_arming_init(void)
uint8_t autopilot_arming_delay_counter
bool motors_on
motor status
struct pprz_autopilot autopilot
Global autopilot structure.
#define AP_ARMING_STATUS_YAW_NOT_CENTERED
#define AP_ARMING_STATUS_KILLED
#define AP_ARMING_STATUS_PITCH_NOT_CENTERED
#define AP_ARMING_STATUS_DISARMING
static void autopilot_arming_check_motors_on(void)
State machine to check if motors should be turned ON or OFF.
#define AP_ARMING_STATUS_ARMED
bool autopilot_unarmed_in_auto
#define PITCH_STICK_CENTERED()
#define AP_ARMING_STATUS_ARMING
enum arming_throttle_state autopilot_arming_state
#define ROLL_STICK_CENTERED()
#define AP_ARMING_STATUS_ROLL_NOT_CENTERED
uint8_t autopilot_get_mode(void)
get autopilot mode
#define MODE_MANUAL
Default RC mode.
uint8_t arming_status
arming status