26 #include "generated/radio.h"
35 #define ParamValInt16(param_init_val, param_travel, cur_pulse, init_pulse) \
36 (param_init_val + (int16_t)(((float)(cur_pulse - init_pulse)) * param_travel / (float)MAX_PPRZ))
38 #define ParamValFloat(param_init_val, param_travel, cur_pulse, init_pulse) \
39 (param_init_val + ((float)(cur_pulse - init_pulse)) * param_travel / (float)MAX_PPRZ)
41 #define RcChannel(x) (radio_control_get(x))
44 #include "generated/settings.h"
49 RCSettings(mode_changed);
Core autopilot interface common to all firmwares.
Fixed wing horizontal control.
Fixedwing Navigation library.
void rc_settings(bool mode_changed)
Includes generated code from tuning_rc.xml.
Variable setting though the radio control.
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.