![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
Fertige Version mit geschwindigkeit 100
Dependencies: mbed
Fork of Micromouse_alpha_copy_copy by
Diff: Turn.cpp
- Revision:
- 5:b8b1a979b0d5
- Parent:
- 4:e3f388933954
- Child:
- 6:a09d2ee3b82e
--- a/Turn.cpp Thu Apr 12 16:14:02 2018 +0000 +++ b/Turn.cpp Wed Apr 25 12:07:03 2018 +0000 @@ -3,8 +3,8 @@ using namespace std; -const float Turn::TURNINGSPEED = 50.0f;//Drehgeschwindgkeit -const int Turn::TURNINGCOUNTS = 946; //Entspricht Drehung um 90Grad //941; +const float Turn::TURNINGSPEED = 50.0f;//Drehgeschwindgkeit Drehzahl in [rpm] +const int Turn::TURNINGCOUNTS = 868; //Entspricht Drehung um 90Grad //DONT TOUCH Turn::Turn(EncoderCounter& counterLeft, EncoderCounter& counterRight, Controller& controller, int& wallRight, int& wallFront, int& wallLeft): counterLeft(counterLeft),