Library containing Crazyflie 2.0 controller classes: - Attitude estimator - Horizontal estimator - Vertical estimator - Attitude controller - Horizontal controller - Vertical controller - Mixer
Diff: AttitudeController/AttitudeController.h
- Revision:
- 5:b9947e3d20cf
- Parent:
- 4:8c7b42745080
- Child:
- 17:f682b4a5686d
--- a/AttitudeController/AttitudeController.h Wed Sep 26 21:47:37 2018 +0000 +++ b/AttitudeController/AttitudeController.h Thu Sep 27 13:51:54 2018 +0000 @@ -2,19 +2,7 @@ #define AttitudeController_h #include "mbed.h" - -// Controller time constants (s) -float const T_phi = 0.2f; -float const T_theta = 0.2f; -float const T_psi = 0.2f; -float const T_p = 0.04f; -float const T_q = 0.04f; -float const T_r = 0.1f; - -// Quadcopter moments of inertia (kg.m^2) -float const I_xx = 16.0e-6f; -float const I_yy = 16.0e-6f; -float const I_zz = 29.0e-6f; +#include "Parameters.h" class AttitudeController {