27 #define AUTOPILOT_CORE_AP_C
38 #include "generated/settings.h"
44 autopilot_core_ap_init();
53 autopilot_core_ap_periodic_task();
79 autopilot_core_ap_set_mode(new_autopilot_mode);
#define AP_MODE_KILL
Static autopilot modes.
void autopilot_generated_SetModeHandler(float mode)
AP mode setting handler.
Periodic telemetry system header (includes downlink utility and generated code).
Autopilot generated implementation Calls the code generated from autopilot XML file.
void autopilot_generated_init(void)
void autopilot_generated_on_rc_frame(void)
struct pprz_autopilot autopilot
Global autopilot structure.
bool ap_ahrs_is_aligned(void)
Display descent speed in failsafe mode if needed.
Hardware independent API for actuators (servos, motor controllers).
bool detect_ground_once
enable automatic detection of ground (one shot)
void autopilot_generated_set_mode(uint8_t new_autopilot_mode)
bool autopilot_in_flight(void)
get in_flight flag
void autopilot_generated_set_motors_on(bool motors_on)
Hardware independent code for commands handling.
Core autopilot interface common to all firmwares.
bool motors_on
motor status
Persistent settings interface.
static uint8_t mode
mode holds the current sonar mode mode = 0 used at high altitude, uses 16 wave patterns mode = 1 used...
bool ground_detected
automatic detection of landing
uint8_t mode
current autopilot mode
void autopilot_generated_periodic(void)