Voili voilou
Dependencies: RoboClaw StepperMotor mbed
Fork of Robot2016_2-0 by
Diff: Map/Obstacles/Obs_circle.h
- Revision:
- 11:9c70a7f4d7aa
- Child:
- 23:3a34b8b70da6
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Map/Obstacles/Obs_circle.h Tue Jan 05 15:48:25 2016 +0100 @@ -0,0 +1,17 @@ +#ifndef OBS_CIRCLE_H_ +#define OBS_CIRCLE_H_ + +#include "Obstacle.h" + +class Obs_circle: public Obstacle +{ + public: + Obs_circle(float robotRadius, int id, float x, float y, float size); + virtual int height(float x, float y); + + //void setPos(float x, float y); + private: + float x,y,size2; // size2 c'est la taille au carré +}; + +#endif