Code to run the microcontrollers on the R5 competition bot

Dependencies:   LineSensors mbed

Revision:
1:fa6eb0c33b2f
Parent:
0:e60f22c1d573
Child:
2:d0ce8e26cbc4
--- a/DriveController.cpp	Sat Sep 20 07:15:05 2014 +0000
+++ b/DriveController.cpp	Wed Sep 24 21:03:56 2014 +0000
@@ -5,3 +5,12 @@
     
 }
 
+DriveController::void move(Direction direction)
+{
+    if(orientation != direction)
+    {
+        bool divert;
+        while(true)
+        {
+            readSensors();
+