Test du path finding

Dependencies:   RoboClaw mbed

Fork of TestMyPathFind by Romain Ame

Revision:
3:62e9d715de65
Parent:
2:abdf8c6823a1
Child:
9:e39b218ab20d
--- a/main.cpp	Tue Nov 24 15:02:01 2015 +0000
+++ b/main.cpp	Tue Nov 24 21:42:10 2015 +0000
@@ -16,7 +16,7 @@
 int main(void)
 {   
     init();
-    odo.GotoXYT(1000,300,0);
+    odo.GotoXYT(2250,500,0);
     while(1);
 }
 
@@ -28,7 +28,7 @@
     roboclaw.ForwardM2(ADR, 0);
     wait_ms(500);
     roboclaw.ResetEnc(ADR);
-    odo.setPos(100, 1000, -PI/2);
+    odo.setPos(1500, 1000, 2*PI/3);
     ticker.attach_us(&update_main,dt); // 100 Hz
 }