David's dead reckoning code for the LVBots competition on March 6th. Uses the mbed LPC1768, DRV8835, QTR-3RC, and two DC motors with encoders.
Dependencies: PololuEncoder Pacer mbed GeneralDebouncer
Diff: main.cpp
- Revision:
- 31:739b91331f31
- Parent:
- 30:84be2d602dc0
- Child:
- 32:83a13b06093c
diff -r 84be2d602dc0 -r 739b91331f31 main.cpp --- a/main.cpp Tue Mar 04 02:09:54 2014 +0000 +++ b/main.cpp Tue Mar 04 03:04:00 2014 +0000 @@ -38,7 +38,7 @@ // Test routines //testMotors(); //testEncoders(); - //testLineSensors(); + testLineSensors(); //testReckoner(); //testButtons(); //testDriveHome(); @@ -46,7 +46,7 @@ //testCalibrate(); //testLineFollowing(); //testAnalog(); - testSensorGlitches(); + //testSensorGlitches(); // Real routines for the contest. loadCalibration();