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:
21:c279c6a83671
Parent:
13:bba5b3abd13f
Child:
22:44c032e59ff5
--- a/main.h	Thu Feb 27 19:46:35 2014 +0000
+++ b/main.h	Thu Feb 27 23:20:34 2014 +0000
@@ -0,0 +1,18 @@
+#pragma once
+
+#include "reckoner.h"
+#include "line_tracker.h"
+
+void waitForSignalToStart();
+void findLineAndCalibrate();
+void turnRightToFindLine();
+void followLineToEnd();
+void driveHomeAlmost();
+void finalSettleIn();
+
+void updateReckonerFromEncoders();
+float determinant();
+float dotProduct();
+
+extern Reckoner reckoner;
+extern LineTracker lineTracker;