
Voili voilou
Dependencies: RoboClaw StepperMotor mbed
Fork of Robot2016_2-0 by
Diff: Map/Obstacles/Obs_rect.h
- Revision:
- 11:9c70a7f4d7aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Map/Obstacles/Obs_rect.h Tue Jan 05 15:48:25 2016 +0100 @@ -0,0 +1,16 @@ +#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 \ No newline at end of file