Robot's source code

Dependencies:   mbed

Committer:
Jagang
Date:
Tue May 05 16:35:53 2015 +0000
Revision:
109:53918ba98306
Child:
123:55e5e9acc541
IA

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Jagang 109:53918ba98306 1 #ifndef OBS_CIRCLE_H_
Jagang 109:53918ba98306 2 #define OBS_CIRCLE_H_
Jagang 109:53918ba98306 3
Jagang 109:53918ba98306 4 #include "Obstacle.h"
Jagang 109:53918ba98306 5
Jagang 109:53918ba98306 6 class Obs_circle: public Obstacle
Jagang 109:53918ba98306 7 {
Jagang 109:53918ba98306 8 public:
Jagang 109:53918ba98306 9 Obs_circle(float robotRadius, float x, float y, float size);
Jagang 109:53918ba98306 10 virtual int height(float x, float y);
Jagang 109:53918ba98306 11
Jagang 109:53918ba98306 12 private:
Jagang 109:53918ba98306 13 float x,y,size2; // size2 c'est la taille au carré
Jagang 109:53918ba98306 14 };
Jagang 109:53918ba98306 15
Jagang 109:53918ba98306 16 #endif