Robot's source code
Dependencies: mbed
Diff: Map/Objectifs/Obj_pince.h
- Revision:
- 114:be06d518b4a7
- Child:
- 117:f8c147141a0c
diff -r c8a1129691da -r be06d518b4a7 Map/Objectifs/Obj_pince.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Map/Objectifs/Obj_pince.h Wed May 06 06:50:05 2015 +0000 @@ -0,0 +1,27 @@ +#ifndef OBJ_PINCE_H +#define OBJ_PINCE_H + + +#include "defines.h" + +#include "AX12.h" +#include "Objectif.h" + +class Obj_clap: public Objectif +{ +public: + #ifdef PLAN_A + Obj_clap(float x, float y, float theta, Asserv<float> *asserv, AX12 *ax12_brasG, AX12 *ax12_brasD); + #else + Obj_clap(float x, float y, float theta, aserv_planB *asserv, AX12 *ax12_brasG, AX12 *ax12_brasD); + #endif + virtual void run(); + virtual int isActive(); +private: + AX12 *ax12_brasG; + AX12 *ax12_brasD; +}; + + + +#endif