David's line following code from the LVBots competition, 2015.
Dependencies: GeneralDebouncer Pacer PololuEncoder mbed
Fork of DeadReckoning by
Diff: main.cpp
- Revision:
- 57:99bec7fab454
- Parent:
- 56:55b1473f9e3b
diff -r 55b1473f9e3b -r 99bec7fab454 main.cpp --- a/main.cpp Thu Apr 16 21:02:38 2015 +0000 +++ b/main.cpp Thu Apr 16 22:00:15 2015 +0000 @@ -408,7 +408,7 @@ nextLogEncoderCount = 0; } - if (lapsCompleted == 3 && totalEncoderCounts > 2000) + if (lapsCompleted == 3 && totalEncoderCounts > 4000) { // Classy move: know when you are done with the competition and stop automatically. // (Of course, there is a risk that this will backfire!)