Library containing Crazyflie 2.0 controller classes: - Attitude estimator - Horizontal estimator - Vertical estimator - Attitude controller - Horizontal controller - Vertical controller - Mixer
Diff: Parameters/Parameters.h
- Revision:
- 24:7b9e3beb61d5
- Parent:
- 23:4905fbc2b31a
--- a/Parameters/Parameters.h Wed Oct 31 13:21:09 2018 +0000 +++ b/Parameters/Parameters.h Thu Dec 06 16:44:40 2018 +0000 @@ -1,6 +1,13 @@ #ifndef Parameters_h #define Parameters_h +// PWM frequencies +const float f_pwm = 500.0f; +const float period_pwm = 1.0f/f_pwm; + +const float motor_test_on_time = 0.05f; +const float motor_test_off_time = 0.15f; + // Interrupt frequencies const float f = 500.0f; // Hz const float f_range = 20.0f; // Hz