Robot's source code
Dependencies: mbed
Map/Objectifs/Obj_clap.cpp
- Committer:
- Jagang
- Date:
- 2015-05-06
- Revision:
- 117:f8c147141a0c
- Parent:
- 109:53918ba98306
- Child:
- 123:55e5e9acc541
File content as of revision 117:f8c147141a0c:
#include "Obj_clap.h" Obj_clap::Obj_clap(float x, float y, float theta, AX12 *ax12_brasG, AX12 *ax12_brasD) :Objectif(x,y,theta) { this->ax12_brasG = ax12_brasG; this->ax12_brasD = ax12_brasD; } void Obj_clap::run() { } int Obj_clap::isActive() { if(!active) return false; if(ax12_brasG->getGoal() == BRASG_OUVERT || ax12_brasD->getGoal() == BRASD_OUVERT) return false; return true; }