Robot's source code
Dependencies: mbed
Diff: Map/Objectifs/Obj_pince.h
- Revision:
- 117:f8c147141a0c
- Parent:
- 114:be06d518b4a7
- Child:
- 119:c45efcd706d9
--- a/Map/Objectifs/Obj_pince.h Wed May 06 06:51:49 2015 +0000 +++ b/Map/Objectifs/Obj_pince.h Wed May 06 11:22:17 2015 +0000 @@ -7,19 +7,14 @@ #include "AX12.h" #include "Objectif.h" -class Obj_clap: public Objectif +class Obj_pince: 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 + Obj_pince(float x, float y, float theta, AX12 *ax12_pince); virtual void run(); virtual int isActive(); private: - AX12 *ax12_brasG; - AX12 *ax12_brasD; + AX12 *ax12_pince; };