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:
42:96671b71aac5
Parent:
37:23000a47ed2b
Child:
43:0e985a58f174
--- a/main.h	Thu Jul 25 03:20:41 2019 +0000
+++ b/main.h	Sat Jul 27 20:58:46 2019 +0000
@@ -3,8 +3,10 @@
 #include "reckoner.h"
 #include "line_tracker.h"
 #include "logger.h"
+#include "turn_sensor.h"
 
-void loadCalibration();
+void loadLineCalibration();
+void doGyroCalibration();
 
 void waitForSignalToStart();
 void findLineAndCalibrate(); void findLine();  // two alternatives
@@ -24,4 +26,5 @@
 
 extern Reckoner reckoner;
 extern LineTracker lineTracker;
-extern Logger logger;
\ No newline at end of file
+extern TurnSensor turnSensor;
+extern Logger logger;