David's line following code from the LVBots competition, 2015.
Dependencies: GeneralDebouncer Pacer PololuEncoder mbed
Fork of DeadReckoning by
Diff: test.cpp
- Revision:
- 52:05a8e919ddb0
- Parent:
- 46:f11cb4f93aac
--- a/test.cpp Wed Apr 15 23:01:39 2015 +0000 +++ b/test.cpp Wed Apr 15 23:56:52 2015 +0000 @@ -215,8 +215,7 @@ updateReckonerFromEncoders(); bool lineVisiblePrevious = lineTracker.getLineVisible(); lineTracker.read(); - updateMotorsToFollowLine(); - + updateMotorsToFollowLineSlow(); loopCount += 1; if (lineVisiblePrevious != lineTracker.getLineVisible())