Romain Ame / Mbed 2 deprecated Timer71pt

Dependencies:   RoboClaw mbed

Fork of Timer by ARES

Map/Obstacles/Obs_circle.h

Committer:
sype
Date:
2016-02-06
Revision:
37:da3a2c781672
Parent:
27:ae68960316f1

File content as of revision 37:da3a2c781672:

#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