
Time is good
Fork of Robot2016_2-0 by
Diff: Map/map.h
- Revision:
- 47:be4eebf40568
- Child:
- 52:98f8a6ccb6ae
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Map/map.h Mon Apr 25 12:42:32 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