Test du path finding

Dependencies:   RoboClaw mbed

Fork of TestMyPathFind by Romain Ame

map/map.h

Committer:
IceTeam
Date:
2016-04-13
Revision:
41:53d5990ff99d
Parent:
39:ca4dd3faffa8

File content as of revision 41:53d5990ff99d:

#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