Sooner Competitive Robotics / Mbed 2 deprecated IEEE_14_Freescale

Dependencies:   mbed

Fork of IEEE_14_Freescale by IEEE 2014 Mbed

Revision:
9:aff48e331147
Parent:
7:3b2cf7efe5d1
Child:
10:926f142f16a3
--- a/main.cpp	Fri Nov 22 21:28:52 2013 +0000
+++ b/main.cpp	Mon Feb 03 20:37:35 2014 +0000
@@ -54,7 +54,8 @@
                 DBGPRINT("={%f,\t%f,\t%f}\n\r",bot.x,bot.y,bot.rot*180.0/3.14159);
                 break;
             case 'W': // drive forward a small bit
-                bot.driveForward(targetAngle,1000);
+                //bot.driveForward(targetAngle,1000);
+                bot.motors.moveForward(100);
                 DBGPRINT("={%f,\t%f,\t%f}\n\r",bot.x,bot.y,bot.rot*180.0/3.14159);
                 break;
             case 'E': //drive forward five times as much