Fork de Timer après le match à 61 points

Dependencies:   RoboClaw mbed

Fork of Timer by ARES

Revision:
14:a394e27b8cb2
Parent:
13:5355aed288b0
Child:
16:a1ede21a963b
diff -r 5355aed288b0 -r a394e27b8cb2 main.cpp
--- a/main.cpp	Tue Jan 05 17:08:15 2016 +0000
+++ b/main.cpp	Tue Jan 05 17:11:35 2016 +0000
@@ -33,8 +33,9 @@
     map.build();
     init();
 
-    path = map.Astar(0, 1000, 2000, 1000, 1);
-
+    map.Astar(0, 1000, 2000, 1000, 1);
+    path = map.path;
+    
     for(int i=0; i<path.size();i++)
         odo.GotoXYT(path[i].x, path[i].y, 0);