Fork de Timer après le match à 61 points

Dependencies:   RoboClaw mbed

Fork of Timer by ARES

Revision:
25:6c5c453602ff
Parent:
24:8e7f24c3d05f
Parent:
23:3a34b8b70da6
Child:
27:ae68960316f1
diff -r 8e7f24c3d05f -r 6c5c453602ff main.cpp
--- a/main.cpp	Wed Jan 20 17:13:01 2016 +0100
+++ b/main.cpp	Wed Jan 20 17:14:29 2016 +0100
@@ -22,6 +22,7 @@
 Ticker ticker;
 //Serial pc(USBTX, USBRX);
 Serial pc(PA_9, PA_10);
+Serial logger (PA_9, PA_10);
 RoboClaw roboclaw(460800, PA_11, PA_12);
 Odometry odo(63.2, 63.3, 252, 4096, roboclaw);
 
@@ -43,7 +44,7 @@
     init();
     //Construction des obstacles
     map.build();
-    map.Astar(0, 1000, 2000, 1000);
+    map.AStar(0, 1000, 2000, 1000, 100);
     path = map.path;
     
     for(int i=0; i<path.size();i++) {