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.
Dependencies: BLE_API mbed nRF51822
Controller.hpp
00001 #ifndef CONTROLLER_H 00002 #define CONTROLLER_H 00003 00004 #include "ControllerParams.hpp" 00005 00006 using namespace std; 00007 00008 class Controller { 00009 protected: 00010 float ref; 00011 float out; 00012 00013 public: 00014 virtual float calculateCmd(void) const = 0; 00015 virtual void updateParams(ControllerParams&) = 0; 00016 virtual ~Controller(); 00017 00018 void updateRef(float); 00019 void updateOut(float); 00020 }; 00021 00022 #endif
Generated on Sun Jul 24 2022 19:55:49 by
1.7.2