Robot's source code
Dependencies: mbed
Map/Obstacles/Obstacle.cpp@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 | #include "Obstacle.h" |
Jagang | 109:53918ba98306 | 2 | |
Jagang | 123:55e5e9acc541 | 3 | Obstacle::Obstacle(float robotRadius, int id) |
Jagang | 109:53918ba98306 | 4 | { |
Jagang | 109:53918ba98306 | 5 | this->robotRadius = robotRadius; |
Jagang | 123:55e5e9acc541 | 6 | this->id = id; |
Jagang | 123:55e5e9acc541 | 7 | this->active = true; |
Jagang | 109:53918ba98306 | 8 | bigShape = true; |
Jagang | 109:53918ba98306 | 9 | smoothBigShape = false; |
Jagang | 109:53918ba98306 | 10 | } |
Jagang | 109:53918ba98306 | 11 | |
Jagang | 109:53918ba98306 | 12 | Obstacle::~Obstacle() |
Jagang | 109:53918ba98306 | 13 | { |
Jagang | 109:53918ba98306 | 14 | |
Jagang | 109:53918ba98306 | 15 | } |
Jagang | 109:53918ba98306 | 16 |