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

Revision:
28:4374035df5e0
Parent:
24:fc01d9125d3b
Child:
32:83a13b06093c
--- a/main.h	Sat Mar 01 01:46:35 2014 +0000
+++ b/main.h	Sat Mar 01 03:13:57 2014 +0000
@@ -3,13 +3,16 @@
 #include "reckoner.h"
 #include "line_tracker.h"
 
+void loadCalibration();
+
 void waitForSignalToStart();
-void findLineAndCalibrate(); void loadCalibrationAndFindLine();  // two alternatives
+void findLineAndCalibrate(); void findLine();  // two alternatives
 void turnRightToFindLine();
 void followLineToEnd();
 void driveHomeAlmost();
 void finalSettleIn();
 
+void updateMotorsToFollowLine();
 void updateReckonerFromEncoders();
 float determinant();
 float dotProduct();