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:
- 9:15058b4fa090
- Parent:
- 6:3188b00263e8
- Child:
- 10:7074bc7038d6
--- a/Mixer/Mixer.cpp Thu Sep 27 18:55:22 2018 +0000 +++ b/Mixer/Mixer.cpp Fri Sep 28 15:08:41 2018 +0000 @@ -1,14 +1,14 @@ #include "mbed.h" #include "Mixer.h" -// Class constructor +/*// 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) { 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)