Skip to content

Commit

Permalink
duplicate move
Browse files Browse the repository at this point in the history
  • Loading branch information
jgvictores committed Mar 3, 2017
1 parent 41b374a commit 063b6bf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ int CgdaExecutionOET::init(int argc, char **argv)

mentalDevice.view(functionMinEvalOp->mentalPositionControl);
realDevice.view(functionMinEvalOp->realPositionControl);
realSimDevice.view(functionMinEvalOp->realSimPositionControl);
functionMinEvalOp->setPRpcClient(&rpcClient);
// functionMinEvalOp->setPRobot(probot);
// functionMinEvalOp->setPenv(penv);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,7 @@ void CgdaPaintFitnessFunction::individualExecution(vector<double> results){
pRpcClient->write(cmd3,res3);

realPositionControl->positionMove(dEncRaw.data());
realSimPositionControl->positionMove(dEncRaw.data());

//sleep(1);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ class CgdaPaintFitnessFunction : public EvaluateOp {

yarp::dev::IPositionControl *mentalPositionControl;
yarp::dev::IPositionControl *realPositionControl;
yarp::dev::IPositionControl *realSimPositionControl;
yarp::os::RpcClient* pRpcClient;

};
Expand Down

0 comments on commit 063b6bf

Please sign in to comment.