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: LedController mbed-rtos mbed NerfUSXbee Servomotor TargetManager
Fork of NerfUS by
Diff: include/Calibrator.hpp
- Revision:
- 46:853966aab733
diff -r 2e186038862c -r 853966aab733 include/Calibrator.hpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/include/Calibrator.hpp Tue Apr 11 03:49:04 2017 +0000 @@ -0,0 +1,18 @@ +#ifndef CALIBRATOR_HPP +#define CALIBRATOR_HPP + +#include "Servomotor.hpp" + +class Calibrator +{ + public: + Calibrator(Servomotor& servomotor); + void calibrate(); + void on_rise(); + + private: + Servomotor& servomotor; + bool is_bumper_pressed; +}; + +#endif