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);
struct pprz_autopilot autopilot
Global autopilot structure.
bool autopilot_in_flight(void)
get in_flight flag
Core autopilot interface common to all firmwares.
bool motors_on
motor status
bool ground_detected
automatic detection of landing
bool detect_ground_once
enable automatic detection of ground (one shot)
uint8_t mode
current autopilot mode
Hardware independent code for commands handling.
void autopilot_generated_SetModeHandler(float mode)
AP mode setting handler.
void autopilot_generated_periodic(void)
void autopilot_generated_set_mode(uint8_t new_autopilot_mode)
void autopilot_generated_init(void)
void autopilot_generated_on_rc_frame(void)
void autopilot_generated_set_motors_on(bool motors_on)
Hardware independent API for actuators (servos, motor controllers).
Generic interface for radio control modules.
Autopilot generated implementation Calls the code generated from autopilot XML file.
#define AP_MODE_KILL
Static autopilot modes.
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...
Periodic telemetry system header (includes downlink utility and generated code).
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.