Romain Ame / Mbed 2 deprecated Robot2016_2-0_STATIC

Dependencies:   RoboClaw StepperMotor mbed

Fork of Robot2016_2-0 by ARES

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers map.h Source File

map.h

00001 #ifndef MAP_H
00002 #define MAP_H
00003 
00004 #include "obsCarr.h"
00005 #include "pointParcours.h"
00006 #include "nVector.h"
00007 #include "controle.h"
00008 #include "Odometry.h"
00009 
00010 class map {
00011 public:
00012     map (Odometry* nodo);
00013     void addObs (obsCarr nobs);
00014     void FindWay (point dep, point arr);
00015     void FindWay (float depX, float depY, float arrX, float arrY);
00016     void Execute (float XObjectif, float YObjectif);
00017     nVector<pointParcours>& getParc () { return path; }
00018     bool& getEnded () { return endedParc; }
00019 
00020 protected:
00021     nVector<obsCarr> obs;
00022     nVector<pointParcours> path;
00023     bool endedParc; // Definit s'il existe un chemin parcourable dans le dernier FindWay
00024     Odometry* Codo;
00025 };
00026 
00027 #endif