Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of Timer 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