Time is good

Dependencies:   RoboClaw mbed

Fork of Robot2016_2-0 by ARES

Revision:
57:86f491f5b25d
Parent:
56:4fd9636dfb36
Child:
60:8d2320a54a32
diff -r 4fd9636dfb36 -r 86f491f5b25d Map/Objectif/objectif.h
--- a/Map/Objectif/objectif.h	Wed May 04 19:43:53 2016 +0200
+++ b/Map/Objectif/objectif.h	Wed May 04 21:04:50 2016 +0200
@@ -1,13 +1,27 @@
 #ifndef OBJECTIF_H
 #define OBJECTIF_H
 
-class Objectif {
+/* Dernier Changement : Romain 20h20 
+Inclu dans : map.h */
+
+#include "../../AX12/AX12.h"
+#include "../../StepperMotor/Stepper.h"
+
+class objectif {
 public:
-	Objectif (int type, float x_obj, float y_obj, float y_objectif);
+	objectif (int type, float x_obj, float y_obj, float thet_obj, AX12 * nA1, AX12 * nA2, AX12 * nA3, Stepper * nS1, Stepper * nS2);
+	bool Action ();
+	float getX() { return x_objectif; }
+	float getY() { return y_objectif; }
+	float getThet() { return thet_object; }
 
 private:
+	bool obj_bloc_action();
+
 	int type;
 	float x_objectif, y_objectif, thet_object;
+	AX12 * A1, * A2, * A3;
+	Stepper * S1, * S2;
 };
 
 #endif
\ No newline at end of file