Voili voilou
Dependencies: RoboClaw StepperMotor mbed
Fork of Robot2016_2-0 by
Map/Obstacles/Obs_circle.h@24:b6e59194efba, 2016-01-20 (annotated)
- Committer:
- IceTeam
- Date:
- Wed Jan 20 18:39:31 2016 +0000
- Revision:
- 24:b6e59194efba
- Parent:
- 23:3a34b8b70da6
Ca marche pas trop trop mal, on a toujours l'erreur sur le d?placement, mais au moins ?a peut vaguement se d?placer;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
IceTeam | 11:9c70a7f4d7aa | 1 | #ifndef OBS_CIRCLE_H_ |
IceTeam | 11:9c70a7f4d7aa | 2 | #define OBS_CIRCLE_H_ |
IceTeam | 11:9c70a7f4d7aa | 3 | |
IceTeam | 11:9c70a7f4d7aa | 4 | #include "Obstacle.h" |
IceTeam | 11:9c70a7f4d7aa | 5 | |
IceTeam | 11:9c70a7f4d7aa | 6 | class Obs_circle: public Obstacle |
IceTeam | 11:9c70a7f4d7aa | 7 | { |
IceTeam | 11:9c70a7f4d7aa | 8 | public: |
IceTeam | 11:9c70a7f4d7aa | 9 | Obs_circle(float robotRadius, int id, float x, float y, float size); |
IceTeam | 11:9c70a7f4d7aa | 10 | virtual int height(float x, float y); |
IceTeam | 11:9c70a7f4d7aa | 11 | |
IceTeam | 11:9c70a7f4d7aa | 12 | //void setPos(float x, float y); |
IceTeam | 11:9c70a7f4d7aa | 13 | private: |
IceTeam | 11:9c70a7f4d7aa | 14 | float x,y,size2; // size2 c'est la taille au carré |
IceTeam | 11:9c70a7f4d7aa | 15 | }; |
IceTeam | 11:9c70a7f4d7aa | 16 | |
IceTeam | 11:9c70a7f4d7aa | 17 | #endif |