Robot's source code

Dependencies:   mbed

Revision:
117:f8c147141a0c
Parent:
109:53918ba98306
Child:
119:c45efcd706d9
--- a/Map/Objectifs/Objectif.h	Wed May 06 06:51:49 2015 +0000
+++ b/Map/Objectifs/Objectif.h	Wed May 06 11:22:17 2015 +0000
@@ -11,17 +11,14 @@
 
 enum ID
 {
-    
+    IDO_PC1,
+    IDO_DEPOT
 };
 
 class Objectif
 {
 public:
-    #ifdef PLAN_A
-        Objectif(float x, float y, float theta, Asserv<float> *asserv);
-    #else
-        Objectif(float x, float y, float theta, aserv_planB *asserv);
-    #endif
+    Objectif(float x, float y, float theta);
     
     virtual void run() = 0;
     bool isDone(){return done;}
@@ -36,11 +33,6 @@
     void activate(){active=true;}
     void desactivate(){active=false;}
 protected:
-    #ifdef PLAN_A
-        Asserv<float>* asserv;
-    #else
-        aserv_planB* asserv;
-    #endif
     float x,y,theta;
     bool done,active;
     int id;