Helvijs Kiselis
/
Micromouse
Algorithmus
Diff: main.cpp
- Revision:
- 14:2926932e26df
- Parent:
- 12:75d0291a9785
- Child:
- 16:c5b864804632
--- a/main.cpp Fri May 04 19:10:36 2018 +0000 +++ b/main.cpp Fri May 04 19:56:05 2018 +0000 @@ -174,7 +174,7 @@ motion.rotateL(); motion.scanMove(); - motion.stop(); + // motion.stop(); }else if (route[r] == MOVE) { @@ -187,7 +187,7 @@ motion.rotateL(); motion.scanMove(); - motion.stop(); + //motion.stop(); }else if (route[r] == RIGHT) { // Kreuzung führt zu Sackgassen -> löschen @@ -260,7 +260,7 @@ motion.rotateL(); motion.scanMove(); - motion.stop(); + // motion.stop(); } //No wall center }else if (cWall == 0) { @@ -275,7 +275,7 @@ r++; motion.scanMove(); - motion.stop(); + // motion.stop(); }else if (route[r] == MOVE) { @@ -355,7 +355,7 @@ motion.rotateR(); motion.scanMove(); - motion.stop(); + // motion.stop(); //Dead end routine }else if ((lWall + cWall + rWall) == 3) {