Test du path finding

Dependencies:   RoboClaw mbed

Fork of TestMyPathFind by Romain Ame

Revision:
39:ca4dd3faffa8
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/map/map.h	Wed Apr 13 11:27:01 2016 +0000
@@ -0,0 +1,23 @@
+#ifndef MAP_H
+#define MAP_H
+
+#include "obsCarr.h"
+#include "pointParcours.h"
+#include "nVector.h"
+#include "controle.h"
+
+class map {
+public:
+    map ();
+    void addObs (obsCarr nobs);
+    void FindWay (point dep, point arr);
+    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
+};
+
+#endif
\ No newline at end of file