Helvijs Kiselis
/
Micromouse
Algorithmus
Diff: Motion.cpp
- Revision:
- 32:e984b7959cb0
- Parent:
- 31:2c54f8304ef5
- Child:
- 33:836ab2089565
--- a/Motion.cpp Tue May 22 23:35:53 2018 +0000 +++ b/Motion.cpp Wed May 23 01:34:36 2018 +0000 @@ -162,7 +162,7 @@ countsL = counterLeft.read(); countsR = counterRight.read(); - while ((countsL - countsLOld) < 600.0f || (countsR - countsROld) > -600.0f) { + while ((countsL - countsLOld) < 300.0f || (countsR - countsROld) > -300.0f) { countsL = counterLeft.read(); countsR = counterRight.read(); accel(RUN_SPEED);