
Robot's source code
Dependencies: mbed
Map/Obstacles/Obs_rect.h@123:55e5e9acc541, 2015-05-11 (annotated)
- Committer:
- Jagang
- Date:
- Mon May 11 20:32:11 2015 +0000
- Revision:
- 123:55e5e9acc541
- Parent:
- 109:53918ba98306
Maj AI; Repositionnement du d?part (1000,177); Ajout de l'action sur les claps
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Jagang | 109:53918ba98306 | 1 | #ifndef OBS_RECT_H_ |
Jagang | 109:53918ba98306 | 2 | #define OBS_RECT_H_ |
Jagang | 109:53918ba98306 | 3 | |
Jagang | 109:53918ba98306 | 4 | #include "Obstacle.h" |
Jagang | 109:53918ba98306 | 5 | |
Jagang | 109:53918ba98306 | 6 | class Obs_rect: public Obstacle |
Jagang | 109:53918ba98306 | 7 | { |
Jagang | 109:53918ba98306 | 8 | public: |
Jagang | 123:55e5e9acc541 | 9 | Obs_rect(float robotRadius, int id, float x1, float y1, float x2, float y2); |
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 x1,y1,x2,y2; |
Jagang | 109:53918ba98306 | 14 | }; |
Jagang | 109:53918ba98306 | 15 | |
Jagang | 109:53918ba98306 | 16 | #endif |