![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
Pathfinding nach rechts funktioniert noch nicht...der rest schon
Dependencies: mbed
Fork of MicroMouse_MASTER_THREE by
Turn.h
- Committer:
- ruesipat
- Date:
- 2018-03-31
- Revision:
- 1:d9e840c48b1e
- Child:
- 7:5ef09519a6e9
File content as of revision 1:d9e840c48b1e:
#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_ */