Voili voilou

Dependencies:   RoboClaw StepperMotor mbed

Fork of Robot2016_2-0 by ARES

Map/Obstacles/Obs_circle.h

Committer:
IceTeam
Date:
2016-01-21
Revision:
27:ae68960316f1
Parent:
23:3a34b8b70da6

File content as of revision 27:ae68960316f1:

#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