Code for autonomous rover for Sparkfun AVC. DataBus won 3rd in 2012 and the same code was used on Troubled Child, a 1986 Jeep Grand Wagoneer to win 1st in 2014.

Dependencies:   mbed Watchdog SDFileSystem DigoleSerialDisp

Revision:
3:42f3821c4e54
Parent:
2:fbc6e3cf3ed8
Child:
5:e301811727f7
--- a/main.cpp	Thu Jun 06 13:40:23 2013 +0000
+++ b/main.cpp	Fri Jun 07 14:45:46 2013 +0000
@@ -193,11 +193,12 @@
     // totally jacks up everything (noise?)
     initSteering();
     initThrottle();
-    // initFlasher();                                   // Initialize autonomous mode flasher
+    // initFlasher();                       // Initialize autonomous mode flasher
     
     // Send data back to the PC
     pc.baud(115200);
     fprintf(stdout, "Data Bus 2013\n");
+    while (pc.readable()) pc.getc();        // flush buffer on reset
 
     display.init();
     display.status("Data Bus 2013");