24 #define MAX_SUPPORTED_MOTORS 12
25 #define MAX_SUPPORTED_SERVOS 8
27 #define MAX_SERVO_RULES (2 * MAX_SUPPORTED_SERVOS)
28 #define MAX_SERVO_SPEED UINT8_MAX
29 #define MAX_SERVO_BOXES 3
31 #define DEFAULT_SERVO_MIN 1000
32 #define DEFAULT_SERVO_MIDDLE 1500
33 #define DEFAULT_SERVO_MAX 2000
34 #define DEFAULT_SERVO_MIN_ANGLE 45
35 #define DEFAULT_SERVO_MAX_ANGLE 45
75 #define CHANNEL_FORWARDING_DISABLED (uint8_t)0xff
171 #define MIXER_MAX_RULES 48
3d mode mixer settings (used when mixer_enable_3d_mode is called with true)
Definition: mixer.h:58
#define MAX_SUPPORTED_SERVOS
Definition: mixer.h:25
uint16_t mincommand
Definition: mixer.h:68
uint16_t neutral3d
Definition: mixer.h:61
rc roll input
Definition: mixer.h:117
#define MIXER_MAX_RULES
Definition: mixer.h:171
gimbal pitch
Definition: mixer.h:113
int8_t yaw_motor_direction
allows reversing yaw direction (values -1 or 1)
Definition: mixer.h:210
int16_t min
Minimum pwm value that is sent to the servo.
Definition: mixer.h:79
uint16_t servo_pwm_rate
Definition: mixer.h:71
uint8_t tri_unarmed_servo
send tail servo correction pulses even when unarmed
Definition: mixer.h:212
flight control angular rate for z axis
Definition: mixer.h:101
flight control angular rate for x axis
Definition: mixer.h:99
flight control tilt pitch
Definition: mixer.h:103
mixer_output_t
Mixer output channels.
Definition: mixer.h:138
uint8_t mixerMode
one of the mixer_mode_t values
Definition: mixer.h:208
uint16_t servoCenterPulse
Definition: mixer.h:69
uint8_t input
Definition: mixer.h:167
Configuration for each servo which is editable by the user.
Definition: mixer.h:78
flight control airbreaks
Definition: mixer.h:105
uint8_t output
Definition: mixer.h:166
uint16_t minthrottle
Definition: mixer.h:66
uint8_t pid_at_min_throttle
when enabled pids are used at minimum throttle (valid values 0 or 1)
Definition: mixer.h:209
uint16_t motor_pwm_rate
Definition: mixer.h:70
uint16_t deadband3d_high
Definition: mixer.h:60
uint16_t deadband3d_low
Definition: mixer.h:59
uint8_t angleAtMin
range [0;180] the measured angle in degrees from the middle when the servo is at the 'min' value...
Definition: mixer.h:83
flight control angular rate for y axis
Definition: mixer.h:100
uint16_t yaw_jump_prevention_limit
make limit configurable (original fixed value was 100)
Definition: mixer.h:211
int8_t rate
range [-125;+125] ; can be used to adjust a rate 0-125% and a direction
Definition: mixer.h:82
mixer_input_t
Definition: mixer.h:97
gimbal yaw
Definition: mixer.h:114
flight control throttle
Definition: mixer.h:102
flight control landing gear
Definition: mixer.h:106
uint16_t maxthrottle
Definition: mixer.h:67
int16_t middle
PWM value that is sent to center the servo (usually 1500)
Definition: mixer.h:81
int16_t scale
Definition: mixer.h:168
struct mixer_rule_def custom_rules[MIXER_MAX_RULES]
Definition: mixer.h:215
int8_t forwardFromChannel
RX channel index, 0 based. See CHANNEL_FORWARDING_DISABLED.
Definition: mixer.h:85
struct servo_config servoConf[MAX_SUPPORTED_SERVOS]
Definition: mixer.h:90
float servo_lowpass_freq
lowpass servo filter frequency selection; 1/1000ths of loop freq
Definition: mixer.h:213
uint32_t reversedSources
the direction of servo movement for each input source of the servo mixer, bit set=inverted ...
Definition: mixer.h:86
general mixer settings
Definition: mixer.h:207
mixer_mode_t
sets mixer frame configuration
Definition: mixer.h:174
gimbal shutter
Definition: mixer.h:115
gimbal roll
Definition: mixer.h:112
flight control spoilers
Definition: mixer.h:104
int16_t max
Maximum pwm value that is sent to the servo.
Definition: mixer.h:80
int8_t servo_lowpass_enable
enable/disable lowpass filter for servo output
Definition: mixer.h:214
mixer rule definition in new format
Definition: mixer.h:165
uint8_t angleAtMax
range [0;180] the measured angle in degrees from the middle when the servo is at the 'max' value...
Definition: mixer.h:84