|
Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the documentation of this file.
27 #define AUTOPILOT_CORE_AP_C
39 #include "generated/settings.h"
45 autopilot_core_ap_init();
57 autopilot_core_ap_periodic_task();
83 autopilot_core_ap_set_mode(new_autopilot_mode);
void autopilot_generated_periodic(void)
void autopilot_generated_init(void)
void autopilot_generated_on_rc_frame(void)
uint8_t mode
current autopilot mode
void autopilot_generated_SetModeHandler(float mode)
AP mode setting handler.
bool ap_ahrs_is_aligned(void)
Display descent speed in failsafe mode if needed.
#define AP_MODE_KILL
Static autopilot modes.
bool autopilot_in_flight(void)
get in_flight flag
bool motors_on
motor status
struct pprz_autopilot autopilot
Global autopilot structure.
void autopilot_generated_set_mode(uint8_t new_autopilot_mode)
static void autopilot_arming_init(void)
bool ground_detected
automatic detection of landing
void autopilot_generated_set_motors_on(bool motors_on)
#define AP_ARMING_STATUS_AHRS_NOT_ALLIGNED
static void autopilot_arming_check_motors_on(void)
State machine to check if motors should be turned ON or OFF using the kill switch.
static void autopilot_arming_set(bool motors_on)
static uint8_t mode
mode holds the current sonar mode mode = 0 used at high altitude, uses 16 wave patterns mode = 1 used...
Hardware independent code for commands handling.
bool kill_throttle
allow autopilot to use throttle
uint8_t arming_status
arming status
bool detect_ground_once
enable automatic detection of ground (one shot)