Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of Robot2016_2-0 by
Map/Obstacles/Obs_rect.h@37:da3a2c781672, 2016-02-06 (annotated)
- Committer:
- sype
- Date:
- Sat Feb 06 10:11:28 2016 +0000
- Revision:
- 37:da3a2c781672
- Parent:
- 11:9c70a7f4d7aa
Command;
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 |
