Voili voilou

Dependencies:   RoboClaw StepperMotor mbed

Fork of Robot2016_2-0 by ARES

Map/map.h

Committer:
IceTeam
Date:
2016-04-20
Revision:
46:8eae88c45a78

File content as of revision 46:8eae88c45a78:

#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