Robot's source code

Dependencies:   mbed

Map/Obstacles/Obs_rect.h

Committer:
Jagang
Date:
2015-05-05
Revision:
109:53918ba98306
Child:
123:55e5e9acc541

File content as of revision 109:53918ba98306:

#ifndef OBS_RECT_H_
#define OBS_RECT_H_

#include "Obstacle.h"

class Obs_rect: public Obstacle
{
    public:
        Obs_rect(float robotRadius, float x1, float y1, float x2, float y2);
        virtual int height(float x, float y);
        
    private:
        float x1,y1,x2,y2;
};

#endif