Romain Ame / Mbed 2 deprecated Timer71pt

Dependencies:   RoboClaw mbed

Fork of Timer by ARES

map/map.h

Committer:
IceTeam
Date:
2016-04-13
Revision:
40:ca4dd3faffa8

File content as of revision 40:ca4dd3faffa8:

#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