Time is good

Dependencies:   RoboClaw mbed

Fork of Robot2016_2-0 by ARES

Revision:
63:176d04975f06
Parent:
62:80a81e4ad9f8
Child:
64:24e1057a97f7
diff -r 80a81e4ad9f8 -r 176d04975f06 Map/Objectif/objectif.h
--- a/Map/Objectif/objectif.h	Wed May 04 23:38:38 2016 +0200
+++ b/Map/Objectif/objectif.h	Wed May 04 21:51:00 2016 +0000
@@ -4,12 +4,13 @@
 /* Dernier Changement : Romain 20h20 
 Inclu dans : map.h */
 
+#include "objectif_type.h"
 #include "../../AX12/AX12.h"
 #include "../../ControlleurPince/ControlleurPince.h"
 
 class objectif {
 public:
-	objectif (int ntype, float nx_obj, float ny_obj, float nthet_obj, AX12 * np, ControlleurPince npince);
+	objectif (int ntype, float nx_obj, float ny_obj, float nthet_obj, AX12 * np, ControlleurPince * npince);
 	bool Action ();
 	float getX() { return x_objectif; }
 	float getY() { return y_objectif; }
@@ -22,6 +23,7 @@
 	int type;
 	float x_objectif, y_objectif, thet_objectif;
 	AX12 * Parasol;
-	ControlleurPince pince;
+	ControlleurPince * pince;
+};
 
 #endif
\ No newline at end of file