Voili voilou

Dependencies:   RoboClaw StepperMotor mbed

Fork of Robot2016_2-0 by ARES

Revision:
46:8eae88c45a78
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Map/map.h	Wed Apr 20 13:13:37 2016 +0000
@@ -0,0 +1,27 @@
+#ifndef MAP_H
+#define MAP_H
+
+#include "obsCarr.h"
+#include "pointParcours.h"
+#include "nVector.h"
+#include "controle.h"
+#include "Odometry.h"
+
+class map {
+public:
+    map (Odometry* nodo);
+    void addObs (obsCarr nobs);
+    void FindWay (point dep, point arr);
+    void FindWay (float depX, float depY, float arrX, float arrY);
+    void Execute (float XObjectif, float YObjectif);
+    nVector<pointParcours>& getParc () { return path; }
+    bool& getEnded () { return endedParc; }
+
+protected:
+    nVector<obsCarr> obs;
+    nVector<pointParcours> path;
+    bool endedParc; // Definit s'il existe un chemin parcourable dans le dernier FindWay
+    Odometry* Codo;
+};
+
+#endif
\ No newline at end of file