Library containing Crazyflie 2.0 controller classes: - Attitude estimator - Horizontal estimator - Vertical estimator - Attitude controller - Horizontal controller - Vertical controller - Mixer
Diff: Mixer/Mixer.cpp
- Revision:
- 12:9fed6f656f88
- Parent:
- 11:fad579538b4c
- Child:
- 17:f682b4a5686d
--- a/Mixer/Mixer.cpp Fri Sep 28 18:52:33 2018 +0000 +++ b/Mixer/Mixer.cpp Fri Sep 28 21:45:50 2018 +0000 @@ -2,13 +2,13 @@ #include "Mixer.h" // Class constructor -/*Mixer::Mixer() : motor_1(PA_1), motor_2(PB_11), motor_3(PA_15), motor_4(PB_9_ALT1), led_1_red(PC_3), led_1_green(PC_2), led_4_red(PC_0), led_4_green(PC_1) +Mixer::Mixer() : motor_1(PA_1), motor_2(PB_11), motor_3(PA_15), motor_4(PB_9_ALT1), led_1_red(PC_3), led_1_green(PC_2), led_4_red(PC_0), led_4_green(PC_1) { led_1_red = 1; led_1_green = 1; led_4_red = 1; led_4_green = 1; -}*/ +} // Actuate motors with desired total trust force (N) and torques (N.m) void Mixer::actuate(float f_t, float tau_phi, float tau_theta, float tau_psi)