29 #ifndef AUTOPILOT_STATIC_H
30 #define AUTOPILOT_STATIC_H
36 #define AP_MODE_MANUAL 0
37 #define AP_MODE_AUTO1 1
38 #define AP_MODE_AUTO2 2
39 #define AP_MODE_HOME 3
40 #define AP_MODE_GPS_OUT_OF_ORDER 4
59 #ifndef CONTROL_FREQUENCY
60 #define CONTROL_FREQUENCY 60
Core autopilot interface common to all firmwares.
void autopilot_static_init(void)
Static autopilot functions.
void navigation_task(void)
Control loops FIXME should be somewhere else.
void autopilot_static_periodic(void)
void autopilot_static_SetModeHandler(float new_autopilot_mode)
AP mode setting handler.
void autopilot_static_set_motors_on(bool motors_on)
void autopilot_static_on_rc_frame(void)
Function to be called when a message from FBW is available.
void autopilot_static_set_mode(uint8_t new_autopilot_mode)
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.