Voili voilou

Dependencies:   RoboClaw StepperMotor mbed

Fork of Robot2016_2-0 by ARES

Map/Obstacles/Obs_circle.h

Committer:
sype
Date:
2016-04-13
Revision:
45:b53ae54062c6
Parent:
27:ae68960316f1

File content as of revision 45:b53ae54062c6:

#ifndef OBS_CIRCLE_H_
#define OBS_CIRCLE_H_

#include "Obstacle.h"

class Obs_circle: public Obstacle
{
    public:
        /** Definit un obstacle de la forme d'un cercle 
          * @param */
        Obs_circle(float robotRadius, int id, float x, float y, float size);
        virtual int height(float x, float y);
        
        //void setPos(float x, float y);
    private:
        float x,y,size2; // size2 c'est la taille au carré
};

#endif