Robot's source code

Dependencies:   mbed

Revision:
65:b5d7f13870be
Parent:
63:fd9af0693e50
Child:
67:0bdf181586b5
diff -r fd9af0693e50 -r b5d7f13870be main.cpp
--- a/main.cpp	Thu Apr 09 17:32:36 2015 +0000
+++ b/main.cpp	Thu Apr 09 17:43:10 2015 +0000
@@ -56,7 +56,7 @@
     
     t.start();
     t.reset();
-    while(1)
+    while(0)
     {
         odometry.update(t.read());
         t.reset();
@@ -67,6 +67,7 @@
         t.reset();
         wait(0.5);
         motorL.setSpeed(1);
+        motorR.setSpeed(1);
     }
     
     bool testOdo = false;