24#include "generated/airframe.h" 
   27#include "generated/modules.h"  
   35#error auto1_commands COMMAND_GEAR needs RADIO_GEAR channel 
   41#error auto1_commands COMMAND_FLAP needs RADIO_FLAP channel 
   47#error auto1_commands COMMAND_AUX1 needs RADIO_AUX1 channel 
   53#error auto1_commands COMMAND_AUX2 needs RADIO_AUX2 channel 
   59#error auto1_commands COMMAND_AUX1 needs RADIO_AUX3 channel 
   65#error auto1_commands COMMAND_AUX4 needs RADIO_AUX4 channel 
   71#error auto1_commands COMMAND_AUX5 needs RADIO_AUX5 channel 
   77#error auto1_commands COMMAND_AUX6 needs RADIO_AUX6 channel 
   83#error auto1_commands COMMAND_AUX7 needs RADIO_AUX7 channel 
   89#error auto1_commands COMMAND_BRAKE needs RADIO_BRAKE channel 
   95#error auto1_commands COMMAND_HATCH needs RADIO_HATCH channel 
 
void periodic_auto1_commands(void)
Enable AUTO1 commands flaps and hatch from RC.
uint8_t autopilot_get_mode(void)
get autopilot mode
Core autopilot interface common to all firmwares.
Hardware independent code for commands handling.
static pprz_t radio_control_get(uint8_t idx)
Get a radio control channel value.