Robot secondaire

Dependencies:   RoboClaw mbed StepperMotor

Fork of RoboClaw by Simon Emarre

Revision:
28:142ebc5410f3
Parent:
27:ae68960316f1
Child:
29:13aa1d1a1c12
--- a/main.cpp	Thu Jan 21 14:25:03 2016 +0000
+++ b/main.cpp	Thu Jan 21 14:54:48 2016 +0000
@@ -44,6 +44,7 @@
     init();
     //Construction des obstacles
     map.build();
+    
     map.AStar(0, 1000, 1400, 1000, 75);
     path = map.path;
     
@@ -51,7 +52,7 @@
         odo.GotoXYT(path[i].x, path[i].y, 0);
     }
     
-    map.AStar(0, 1000, 0, 1000, 75);
+    map.AStar(1400, 1000, 0, 1000, 75);
     path = map.path;
     
     for(int i=0; i<path.size();i++) {