Voili voilou

Dependencies:   RoboClaw StepperMotor mbed

Fork of Robot2016_2-0 by ARES

Map/Obstacles/Obs_rect.h

Committer:
sype
Date:
2016-04-13
Revision:
45:b53ae54062c6
Parent:
11:9c70a7f4d7aa

File content as of revision 45:b53ae54062c6:

#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