ARES / Mbed 2 deprecated Robot 2016

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers Obs_rect.h Source File

Obs_rect.h

00001 #ifndef OBS_RECT_H_
00002 #define OBS_RECT_H_
00003 
00004 #include "Obstacle.h"
00005 
00006 class Obs_rect: public Obstacle
00007 {
00008     public:
00009         Obs_rect(float robotRadius, int id, float x1, float y1, float x2, float y2);
00010         virtual int height(float x, float y);
00011         
00012     private:
00013         float x1,y1,x2,y2;
00014 };
00015 
00016 #endif