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.
VerticalController.h
00001 # ifndef VerticalController_h 00002 # define VerticalController_h 00003 # include "mbed.h" 00004 // Vertical controller class 00005 class VerticalController 00006 { 00007 public: 00008 // Class constructor 00009 VerticalController () ; 00010 // Control total thrust force given vertical position reference and estimation 00011 void control ( float z_r , float z, float w); 00012 // Thrust force (N) 00013 float f_t; 00014 private: 00015 // Last vertical position (m) error 00016 float z_e_last ; 00017 float kp, kd; 00018 }; 00019 # endif
Generated on Fri Jul 15 2022 13:09:41 by
