39 #ifndef AUTOPILOT_DISABLE_AHRS_KILL
52 #define THRESHOLD_1_PPRZ (MIN_PPRZ / 2)
53 #define THRESHOLD_2_PPRZ (MAX_PPRZ / 2)
Core autopilot interface common to all firmwares.
static bool stateIsAttitudeValid(void)
Test if attitudes are valid.
PRINT_CONFIG_MSG("USE_INS_NAV_INIT defaulting to TRUE")
struct RadioControl radio_control
Generic interface for radio control modules.
pprz_t values[RADIO_CONTROL_NB_CHANNEL]
Some helper functions to check RC sticks.
#define MODE_MANUAL
Default RC mode.
uint8_t ap_mode_of_3way_switch(void)
get autopilot mode as set by RADIO_MODE 3-way switch
bool ap_ahrs_is_aligned(void)
Display descent speed in failsafe mode if needed.
Utility functions and includes for autopilots.
#define FAILSAFE_DESCENT_SPEED
Set descent speed in failsafe mode.
API to get/set the generic vehicle states.
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.