Robot's source code
Dependencies: mbed
Map/Objectifs/Obj_clap.h@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 | #ifndef OBJ_CLAP_H |
Jagang | 109:53918ba98306 | 2 | #define OBJ_CLAP_H |
Jagang | 109:53918ba98306 | 3 | |
Jagang | 109:53918ba98306 | 4 | #include "defines.h" |
Jagang | 109:53918ba98306 | 5 | |
Jagang | 109:53918ba98306 | 6 | #include "AX12.h" |
Jagang | 109:53918ba98306 | 7 | #include "Objectif.h" |
Jagang | 109:53918ba98306 | 8 | |
Jagang | 109:53918ba98306 | 9 | class Obj_clap: public Objectif |
Jagang | 109:53918ba98306 | 10 | { |
Jagang | 109:53918ba98306 | 11 | public: |
Jagang | 109:53918ba98306 | 12 | #ifdef PLAN_A |
Jagang | 109:53918ba98306 | 13 | Obj_clap(float x, float y, float theta, Asserv<float> *asserv, AX12 *ax12_brasG, AX12 *ax12_brasD); |
Jagang | 109:53918ba98306 | 14 | #else |
Jagang | 109:53918ba98306 | 15 | Obj_clap(float x, float y, float theta, aserv_planB *asserv, AX12 *ax12_brasG, AX12 *ax12_brasD); |
Jagang | 109:53918ba98306 | 16 | #endif |
Jagang | 109:53918ba98306 | 17 | virtual void run(); |
Jagang | 109:53918ba98306 | 18 | virtual int isActive(); |
Jagang | 109:53918ba98306 | 19 | private: |
Jagang | 109:53918ba98306 | 20 | AX12 *ax12_brasG; |
Jagang | 109:53918ba98306 | 21 | AX12 *ax12_brasD; |
Jagang | 109:53918ba98306 | 22 | }; |
Jagang | 109:53918ba98306 | 23 | |
Jagang | 109:53918ba98306 | 24 | |
Jagang | 109:53918ba98306 | 25 | |
Jagang | 109:53918ba98306 | 26 | #endif |