Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: HorizontalController/HorizontalController.h
- Revision:
- 17:f682b4a5686d
- Parent:
- 16:54d2f299e404
- Child:
- 21:169cc2b1d2ff
--- a/HorizontalController/HorizontalController.h Fri Oct 05 13:19:03 2018 +0000 +++ b/HorizontalController/HorizontalController.h Fri Oct 05 19:32:35 2018 +0000 @@ -9,14 +9,14 @@ public: // Class constructor HorizontalController(); - // + // Control reference roll and pitch angles (rad) given reference horizontal velocities (m/s) and current horizontal velocities (m/s) void control(float u_r, float v_r, float u, float v); - // + // Control roll and pitch references (rad) given reference horizontal velocities (m/s) and current horizontal velocities (m/s) on take-off void control_take_off(float u_r, float v_r, float u, float v); - // + // Roll and pitch references (rad) float phi_r, theta_r; private: - // + // Control reference angle (rad) given reference horizontal velocity (m/s) and current horizontal velocity (m/s) with given time constant (s) float control_single(float velocity_r, float velocity, float T_velocity); };