Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Diff: Map/Obstacles/Obs_rect.h
- Revision:
- 0:b127c787a51b
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Map/Obstacles/Obs_rect.h Sun May 24 12:30:47 2015 +0000 @@ -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