26 #include "generated/radio.h"
28 #include "autopilot.h"
37 #define ParamValInt16(param_init_val, param_travel, cur_pulse, init_pulse) \
38 (param_init_val + (int16_t)(((float)(cur_pulse - init_pulse)) * param_travel / (float)MAX_PPRZ))
40 #define ParamValFloat(param_init_val, param_travel, cur_pulse, init_pulse) \
41 (param_init_val + ((float)(cur_pulse - init_pulse)) * param_travel / (float)MAX_PPRZ)
43 #define RcChannel(x) (fbw_state->channels[x])
46 #include "generated/settings.h"
51 RCSettings(mode_changed);
Communication between fbw and ap processes.
Variable setting though the radio control.
Fixed wing horizontal control.
void rc_settings(bool_t mode_changed)
Includes generated code from tuning_rc.xml.
Fixedwing Navigation library.