NerfUS / Mbed 2 deprecated NerfUSTarget

Dependencies:   LedController mbed-rtos mbed NerfUSXbee Servomotor TargetManager

Fork of NerfUS by NerfUS

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