Robot's source code

Dependencies:   mbed

Map/Obstacles/Obs_rect.h

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

File content as of revision 123:55e5e9acc541:

#ifndef OBS_RECT_H_
#define OBS_RECT_H_

#include "Obstacle.h"

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

#endif