Robot's source code
Dependencies: mbed
Diff: Map/Obstacles/Obs_circle.h
- Revision:
- 109:53918ba98306
- Child:
- 123:55e5e9acc541
diff -r 6a38cc0765f5 -r 53918ba98306 Map/Obstacles/Obs_circle.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Map/Obstacles/Obs_circle.h Tue May 05 16:35:53 2015 +0000 @@ -0,0 +1,16 @@ +#ifndef OBS_CIRCLE_H_ +#define OBS_CIRCLE_H_ + +#include "Obstacle.h" + +class Obs_circle: public Obstacle +{ + public: + Obs_circle(float robotRadius, float x, float y, float size); + virtual int height(float x, float y); + + private: + float x,y,size2; // size2 c'est la taille au carré +}; + +#endif