Pathfinding nach rechts funktioniert noch nicht...der rest schon

Dependencies:   mbed

Fork of MicroMouse_MASTER_THREE by PES2_R2D2.0

Revision:
1:d9e840c48b1e
Child:
7:5ef09519a6e9
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Turn.h	Sat Mar 31 16:45:57 2018 +0000
@@ -0,0 +1,33 @@
+#ifndef TURN_H_
+#define TURN_H_
+
+#include <cstdlib>
+#include <mbed.h>
+#include "EncoderCounter.h"
+#include "LowpassFilter.h"
+#include "Controller.h"
+
+class Turn
+{
+
+public:
+
+    Turn(EncoderCounter& counterLeft, EncoderCounter& counterRight, Controller& controller, int& wallRight, int& wallFront, int& wallLeft);
+    
+    virtual ~Turn();
+    void turning();
+    
+private:
+
+    static const float TURNINGSPEED;
+    static const int TURNINGCOUNTS;
+
+    EncoderCounter&    counterLeft;
+    EncoderCounter&    counterRight;
+    Controller& controller;
+    int& wallRight;
+    int& wallFront;
+    int& wallLeft;
+};
+
+#endif /* TURN_H_ */
\ No newline at end of file