48 #define HELI_CURVES_NR_POINTS 5 102 unsigned mix(
float *outputs,
unsigned space)
override;
106 unsigned set_trim(
float trim)
override {
return 4; }
107 unsigned get_trim(
float *trim)
override {
return 4; }
Generic, programmable, procedural control signal mixers.
void groups_required(uint32_t &groups) override
Analyses the mix configuration and updates a bitmask of groups that are required. ...
int(* ControlCallback)(uintptr_t handle, uint8_t control_group, uint8_t control_index, float &control)
Fetch a control value.
unsigned set_trim(float trim) override
Set trim offset for this mixer.
#define HELI_CURVES_NR_POINTS
uint8_t control_count
number of inputs
helicopter swash plate mixer
unsigned get_trim(float *trim) override
Get trim offset for this mixer.
helicopter swash servo mixer
Abstract class defining a mixer mixing zero or more inputs to one or more outputs.
Generic helicopter mixer for helicopters with swash plate.