Robot's source code

Dependencies:   mbed

Revision:
108:890094ee202a
Parent:
106:05096985d1b2
Child:
110:7e71e5cd8197
Child:
112:df5388d9f706
--- a/Asserv_Plan_B/planB.h	Tue May 05 05:05:07 2015 +0000
+++ b/Asserv_Plan_B/planB.h	Tue May 05 16:35:42 2015 +0000
@@ -13,7 +13,8 @@
     void control_speed();
     void setGoal(float x, float y, float theta);
     void setGoal(float x, float y);
-    bool isArrived(void) {return done;}
+    void aserv_planB::stop(void);
+    bool isArrived(void) {return arrived;}
     float carre(float x) {return x*x;}
     float Kp_angle, Kd_angle, Ki_angle;
     float Kp_distance, Ki_distance, Kd_distance;
@@ -33,7 +34,7 @@
     float distanceGoal, distance;
     float thetaGoal;
     float memo_g, memo_d;
-    bool done, squip;
+    bool arrived, squip;
     int N;
     
     char state;