Robot's source code

Dependencies:   mbed

Revision:
86:2fbe5db2627f
Parent:
85:8e95432d99d3
Child:
93:4d5664e9188a
Child:
94:5c37bcf73d14
Child:
104:62702cd390f3
diff -r 8e95432d99d3 -r 2fbe5db2627f Asserv_Plan_B/planB.cpp
--- a/Asserv_Plan_B/planB.cpp	Sat Apr 18 09:39:15 2015 +0000
+++ b/Asserv_Plan_B/planB.cpp	Fri Apr 24 11:12:44 2015 +0000
@@ -76,7 +76,7 @@
     }
     
     // Etat 2 : Parcours du robot jusqu'au point M(x,y)
-    if(state == 2 && N < 100)
+    if(state == 2)
     {
         float erreur_distance_g = distance_g-(m_odometry.getDistLeft()-memo_g); //- distance parcourue par la roue gauche depuis l'état 2
         float erreur_distance_d = distance_d-(m_odometry.getDistRight()-memo_d);