Fork de Timer après le match à 61 points

Dependencies:   RoboClaw mbed

Fork of Timer by ARES

Revision:
21:077bc7634b90
Parent:
19:b2f3757fd7ee
Child:
22:8ce3fb39612c
--- a/main.cpp	Wed Jan 13 19:10:51 2016 +0100
+++ b/main.cpp	Wed Jan 20 14:06:42 2016 +0000
@@ -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, 50);
+    map.AStar(0, 1000, 2000, 1000, 50);
     path = map.path;
     
     for(int i=0; i<path.size();i++) {