Robot's source code
Dependencies: mbed
Map/Objectifs/Obj_pince.h@119:c45efcd706d9, 2015-05-06 (annotated)
- Committer:
- Jagang
- Date:
- Wed May 06 15:17:16 2015 +0000
- Revision:
- 119:c45efcd706d9
- Parent:
- 117:f8c147141a0c
Modif asserv B; Impl?mentation de l'IA et des objectifs (Ramasser PC et d?poser)
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Jagang | 114:be06d518b4a7 | 1 | #ifndef OBJ_PINCE_H |
Jagang | 114:be06d518b4a7 | 2 | #define OBJ_PINCE_H |
Jagang | 114:be06d518b4a7 | 3 | |
Jagang | 114:be06d518b4a7 | 4 | |
Jagang | 114:be06d518b4a7 | 5 | #include "defines.h" |
Jagang | 114:be06d518b4a7 | 6 | |
Jagang | 114:be06d518b4a7 | 7 | #include "AX12.h" |
Jagang | 114:be06d518b4a7 | 8 | #include "Objectif.h" |
Jagang | 114:be06d518b4a7 | 9 | |
Jagang | 117:f8c147141a0c | 10 | class Obj_pince: public Objectif |
Jagang | 114:be06d518b4a7 | 11 | { |
Jagang | 114:be06d518b4a7 | 12 | public: |
Jagang | 119:c45efcd706d9 | 13 | Obj_pince(float x, float y, float xp, float yp, float theta, AX12 *ax12_pince); |
Jagang | 114:be06d518b4a7 | 14 | virtual void run(); |
Jagang | 114:be06d518b4a7 | 15 | virtual int isActive(); |
Jagang | 114:be06d518b4a7 | 16 | private: |
Jagang | 117:f8c147141a0c | 17 | AX12 *ax12_pince; |
Jagang | 119:c45efcd706d9 | 18 | float xp, yp; |
Jagang | 114:be06d518b4a7 | 19 | }; |
Jagang | 114:be06d518b4a7 | 20 | |
Jagang | 114:be06d518b4a7 | 21 | |
Jagang | 114:be06d518b4a7 | 22 | |
Jagang | 114:be06d518b4a7 | 23 | #endif |