Robot's source code

Dependencies:   mbed

Committer:
Jagang
Date:
Mon May 11 20:32:11 2015 +0000
Revision:
123:55e5e9acc541
Parent:
119:c45efcd706d9
Maj AI; Repositionnement du d?part (1000,177); Ajout de l'action sur les claps

Who changed what in which revision?

UserRevisionLine numberNew 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