Pathfinding nach rechts funktioniert noch nicht...der rest schon
Dependencies: mbed
Fork of MicroMouse_MASTER_THREE by
Diff: Turn.h
- Revision:
- 8:1c8a747c49c8
- Parent:
- 7:5ef09519a6e9
- Child:
- 9:ab19796bf14a
--- a/Turn.h Mon May 07 18:52:04 2018 +0000 +++ b/Turn.h Wed May 16 12:15:23 2018 +0000 @@ -12,10 +12,16 @@ public: - Turn(EncoderCounter& counterLeft, EncoderCounter& counterRight, Controller& controller, int& wallRight, int& wallFront, int& wallLeft, int& dontStop); + Turn(EncoderCounter& counterLeft, EncoderCounter& counterRight, Controller& controller, int& wallRight, int& wallFront, int& wallLeft, int& dontStop, int& modeStart,int& path); virtual ~Turn(); void turning(); + + int& modeStart; + + int& path; + + private: @@ -29,6 +35,7 @@ int& wallFront; int& wallLeft; int& dontStop; + }; #endif /* TURN_H_ */ \ No newline at end of file