Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
martinaxgloria committed Dec 18, 2024
1 parent cee0ff4 commit 6a20fae
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions src/libraries/icubmod/couplingICubEye/CouplingICubEye.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ bool CouplingICubEye::open(yarp::os::Searchable& config) {
return false;
}

if(!populateCouplingParameters) {
yCError(COUPLINGICUBEYE) << "Error populating coupling parameters";
return false;
}

yCDebug(COUPLINGICUBEYE) << "Opening couplingICubEye" << config.toString();
return true;
}
Expand Down
6 changes: 3 additions & 3 deletions src/libraries/icubmod/couplingICubEye/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ jointNames eyes_tilt l_eye_pan_joint r_eye_pan_joint

[COUPLING]
device couplingICubEye
actuatedAxesNames eyes_version eyes_vergence
actuatedAxesPosMin -30.0 0.0
actuatedAxesPosMax 30.0 50.0
actuatedAxesNames eyes_tilt eyes_version eyes_vergence
actuatedAxesPosMin -30.0 -30.0 0.0
actuatedAxesPosMax 30.0 30.0 50.0

[LIMITS]
jntPosMax 30.0 55.0 30.0
Expand Down

0 comments on commit 6a20fae

Please sign in to comment.