Go to the source code of this file.
Classes | |
class | BaseReverseMixer |
Enumerations | |
enum | MulticopterMapping { MC_MOTOR_0_FRONT_RIGHT = 0, MC_MOTOR_1_REAR_LEFT, MC_MOTOR_2_FRONT_LEFT, MC_MOTOR_3_REAR_RIGHT } |
enum | VtolDynamicsMapping { VTOL_MOTOR_0_FRONT_RIGHT = 0, VTOL_MOTOR_1_REAR_LEFT, VTOL_MOTOR_2_FRONT_LEFT, VTOL_MOTOR_3_REAR_RIGHT, VTOL_THROTLE, VTOL_AILERONS, VTOL_ELEVATORS, VTOL_RUDDERS } |
enum | VtolOctoplaneDynamicsMapping { VTOL_OP_AILERONS = 9, VTOL_OP_ELEVATORS = 10, VTOL_OP_RUDDERS = 11 } |
Functions | |
float | clamp_float (float value, float min, float max) |
float | rawcommand_to_servo (float value) |
enum MulticopterMapping |
Enumerator | |
---|---|
MC_MOTOR_0_FRONT_RIGHT | [ 0.0; +1.0] |
MC_MOTOR_1_REAR_LEFT | [ 0.0; +1.0] |
MC_MOTOR_2_FRONT_LEFT | [ 0.0; +1.0] |
MC_MOTOR_3_REAR_RIGHT | [ 0.0; +1.0] |
Definition at line 26 of file base_mixer.hpp.
enum VtolDynamicsMapping |
Definition at line 33 of file base_mixer.hpp.
Enumerator | |
---|---|
VTOL_OP_AILERONS | [-1.0; +1.0] |
VTOL_OP_ELEVATORS | [-1.0; +1.0] |
VTOL_OP_RUDDERS | [-1.0; +1.0] |
Definition at line 44 of file base_mixer.hpp.
float clamp_float | ( | float | value, |
float | min, | ||
float | max | ||
) |
Definition at line 27 of file base_mixer.cpp.
float rawcommand_to_servo | ( | float | value | ) |
Definition at line 36 of file base_mixer.cpp.