Robot's source code

Dependencies:   mbed

Committer:
Jagang
Date:
Wed May 06 06:50:05 2015 +0000
Revision:
114:be06d518b4a7
Child:
117:f8c147141a0c
AI

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 114:be06d518b4a7 10 class Obj_clap: public Objectif
Jagang 114:be06d518b4a7 11 {
Jagang 114:be06d518b4a7 12 public:
Jagang 114:be06d518b4a7 13 #ifdef PLAN_A
Jagang 114:be06d518b4a7 14 Obj_clap(float x, float y, float theta, Asserv<float> *asserv, AX12 *ax12_brasG, AX12 *ax12_brasD);
Jagang 114:be06d518b4a7 15 #else
Jagang 114:be06d518b4a7 16 Obj_clap(float x, float y, float theta, aserv_planB *asserv, AX12 *ax12_brasG, AX12 *ax12_brasD);
Jagang 114:be06d518b4a7 17 #endif
Jagang 114:be06d518b4a7 18 virtual void run();
Jagang 114:be06d518b4a7 19 virtual int isActive();
Jagang 114:be06d518b4a7 20 private:
Jagang 114:be06d518b4a7 21 AX12 *ax12_brasG;
Jagang 114:be06d518b4a7 22 AX12 *ax12_brasD;
Jagang 114:be06d518b4a7 23 };
Jagang 114:be06d518b4a7 24
Jagang 114:be06d518b4a7 25
Jagang 114:be06d518b4a7 26
Jagang 114:be06d518b4a7 27 #endif