Robot secondaire

Dependencies:   RoboClaw mbed StepperMotor

Fork of RoboClaw by Simon Emarre

Revision:
17:e32b4b54fc04
Parent:
16:a1ede21a963b
Child:
18:0f1fefe78266
--- a/main.cpp	Thu Jan 07 13:56:38 2016 +0100
+++ b/main.cpp	Thu Jan 07 14:08:33 2016 +0100
@@ -1,4 +1,9 @@
 #include "Odometry.h"
+/** Dependencies :
+    Map/Point.h
+    Map/define.h
+    Map/Obstacles/Obstacle.h
+*/ 
 #include "Map/Map.h"
 
 #define dt 10000
@@ -30,9 +35,9 @@
     std::vector<SimplePoint> path;
     Map map;
     
-    map.build();
     init();
 
+    map.build();
     map.Astar(0, 1000, 2000, 1000, 1);
     path = map.path;