Robot's source code
Dependencies: mbed
Map/Objectifs/Objectif.cpp@109:53918ba98306, 2015-05-05 (annotated)
- Committer:
- Jagang
- Date:
- Tue May 05 16:35:53 2015 +0000
- Revision:
- 109:53918ba98306
- Child:
- 117:f8c147141a0c
IA
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Jagang | 109:53918ba98306 | 1 | #include "Objectif.h" |
Jagang | 109:53918ba98306 | 2 | |
Jagang | 109:53918ba98306 | 3 | #ifdef PLAN_A |
Jagang | 109:53918ba98306 | 4 | Objectif::Objectif(float x, float y, float theta, Asserv<float> *asserv) |
Jagang | 109:53918ba98306 | 5 | #else |
Jagang | 109:53918ba98306 | 6 | Objectif::Objectif(float x, float y, float theta, aserv_planB *asserv) |
Jagang | 109:53918ba98306 | 7 | #endif |
Jagang | 109:53918ba98306 | 8 | { |
Jagang | 109:53918ba98306 | 9 | this->x = x; |
Jagang | 109:53918ba98306 | 10 | this->y = y; |
Jagang | 109:53918ba98306 | 11 | this->theta = theta; |
Jagang | 109:53918ba98306 | 12 | this->asserv = asserv; |
Jagang | 109:53918ba98306 | 13 | done = false; |
Jagang | 109:53918ba98306 | 14 | active = true; |
Jagang | 109:53918ba98306 | 15 | id = -1; |
Jagang | 109:53918ba98306 | 16 | } |