Library containing Crazyflie 2.0 controller classes: - Attitude estimator - Horizontal estimator - Vertical estimator - Attitude controller - Horizontal controller - Vertical controller - Mixer
Diff: VerticalController/VerticalController.h
- Revision:
- 16:54d2f299e404
- Parent:
- 15:155ca63b7884
- Child:
- 17:f682b4a5686d
--- a/VerticalController/VerticalController.h Wed Oct 03 22:12:38 2018 +0000 +++ b/VerticalController/VerticalController.h Fri Oct 05 13:19:03 2018 +0000 @@ -9,10 +9,10 @@ public: // Class constructor VerticalController(); - /*// Control thrust force (N) given vertical position (m) and velocity (m/s) - void control(float z_r, float z, float w);*/ // Control thrust force (N) given vertical position (m) and velocity (m/s) - void control(float z_r, float z, float w, float K_z_new, float K_w_new); + void control(float z_r, float z, float w); + // Control thrust force (N) given vertical position (m) and velocity (m/s) + void control_take_off(float z_r, float z, float w); // Thrust force (N) float f_t; };