Voili voilou
Dependencies: RoboClaw StepperMotor mbed
Fork of Robot2016_2-0 by
Map/Obstacles/Obs_rect.h@11:9c70a7f4d7aa, 2016-01-05 (annotated)
- Committer:
- IceTeam
- Date:
- Tue Jan 05 15:48:25 2016 +0100
- Revision:
- 11:9c70a7f4d7aa
Ajout du fichier parent
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
IceTeam | 11:9c70a7f4d7aa | 1 | #ifndef OBS_RECT_H_ |
IceTeam | 11:9c70a7f4d7aa | 2 | #define OBS_RECT_H_ |
IceTeam | 11:9c70a7f4d7aa | 3 | |
IceTeam | 11:9c70a7f4d7aa | 4 | #include "Obstacle.h" |
IceTeam | 11:9c70a7f4d7aa | 5 | |
IceTeam | 11:9c70a7f4d7aa | 6 | class Obs_rect: public Obstacle |
IceTeam | 11:9c70a7f4d7aa | 7 | { |
IceTeam | 11:9c70a7f4d7aa | 8 | public: |
IceTeam | 11:9c70a7f4d7aa | 9 | Obs_rect(float robotRadius, int id, float x1, float y1, float x2, float y2); |
IceTeam | 11:9c70a7f4d7aa | 10 | virtual int height(float x, float y); |
IceTeam | 11:9c70a7f4d7aa | 11 | |
IceTeam | 11:9c70a7f4d7aa | 12 | private: |
IceTeam | 11:9c70a7f4d7aa | 13 | float x1,y1,x2,y2; |
IceTeam | 11:9c70a7f4d7aa | 14 | }; |
IceTeam | 11:9c70a7f4d7aa | 15 | |
IceTeam | 11:9c70a7f4d7aa | 16 | #endif |