Pathfinding nach rechts funktioniert noch nicht...der rest schon
Dependencies: mbed
Fork of MicroMouse_MASTER_THREE by
Turn.h
- Committer:
- TheDarkDurzo
- Date:
- 2018-05-16
- Revision:
- 8:1c8a747c49c8
- Parent:
- 7:5ef09519a6e9
- Child:
- 9:ab19796bf14a
File content as of revision 8:1c8a747c49c8:
#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, int& dontStop, int& modeStart,int& path); virtual ~Turn(); void turning(); int& modeStart; int& path; private: static const float TURNINGSPEED; static const int TURNINGCOUNTS; EncoderCounter& counterLeft; EncoderCounter& counterRight; Controller& controller; int& wallRight; int& wallFront; int& wallLeft; int& dontStop; }; #endif /* TURN_H_ */