![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
ENDLÖSUNG:)
Dependencies: mbed
Fork of MicroMouse_MASTER_FOUR by
Turn.h
- Committer:
- ruesipat
- Date:
- 2018-05-22
- Revision:
- 10:e8110fb94686
- Parent:
- 9:ab19796bf14a
File content as of revision 10:e8110fb94686:
#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(); private: static const float TURNINGSPEED; static const int TURNINGCOUNTS; EncoderCounter& counterLeft; EncoderCounter& counterRight; Controller& controller; int& wallRight; int& wallFront; int& wallLeft; int& dontStop; int& modeStart; int& path; }; #endif /* TURN_H_ */