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.
Dependencies: mbed
Map/Obstacles/Obs_circle.h@0:b127c787a51b, 2015-05-24 (annotated)
- Committer:
- Jagang
- Date:
- Sun May 24 12:30:47 2015 +0000
- Revision:
- 0:b127c787a51b
Nettoyage du code d'asserv.; L'asserv ne fonctionne plus, juste test, moteurs ? 20% sur 1m
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Jagang | 0:b127c787a51b | 1 | #ifndef OBS_CIRCLE_H_ |
Jagang | 0:b127c787a51b | 2 | #define OBS_CIRCLE_H_ |
Jagang | 0:b127c787a51b | 3 | |
Jagang | 0:b127c787a51b | 4 | #include "Obstacle.h" |
Jagang | 0:b127c787a51b | 5 | |
Jagang | 0:b127c787a51b | 6 | class Obs_circle: public Obstacle |
Jagang | 0:b127c787a51b | 7 | { |
Jagang | 0:b127c787a51b | 8 | public: |
Jagang | 0:b127c787a51b | 9 | Obs_circle(float robotRadius, int id, float x, float y, float size); |
Jagang | 0:b127c787a51b | 10 | virtual int height(float x, float y); |
Jagang | 0:b127c787a51b | 11 | |
Jagang | 0:b127c787a51b | 12 | //void setPos(float x, float y); |
Jagang | 0:b127c787a51b | 13 | private: |
Jagang | 0:b127c787a51b | 14 | float x,y,size2; // size2 c'est la taille au carré |
Jagang | 0:b127c787a51b | 15 | }; |
Jagang | 0:b127c787a51b | 16 | |
Jagang | 0:b127c787a51b | 17 | #endif |