Skip to content

Commit

Permalink
update for pinocchio 2.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
nim65s committed Nov 29, 2019
1 parent bf64ef4 commit 51bf42b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ IF(BUILD_PYTHON_INTERFACE)
ADD_REQUIRED_DEPENDENCY("dynamic-graph-python >= 3.4.0")
ENDIF(BUILD_PYTHON_INTERFACE)

ADD_COMPILE_DEPENDENCY ("pinocchio >= 2.0.0")
ADD_COMPILE_DEPENDENCY ("pinocchio >= 2.2.1")

SEARCH_FOR_BOOST()

Expand Down
8 changes: 4 additions & 4 deletions unitTesting/features/test_feature_generic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -311,15 +311,15 @@ class TestFeaturePose : public FeatureTestBase {
pinocchio::buildModels::humanoid(model_, true); // use freeflyer
model_.lowerPositionLimit.head<3>().setConstant(-1.);
model_.upperPositionLimit.head<3>().setConstant(1.);
jb_ = model_.getJointId("rarmwrist2_joint");
jb_ = model_.getJointId("rarm_wrist2_joint");
fb_ = model_.addFrame(pinocchio::Model::Frame(
"frame_b", jb_, model_.getFrameId("rarmwrist2_joint", pinocchio::JOINT),
"frame_b", jb_, model_.getFrameId("rarm_wrist2_joint", pinocchio::JOINT),
SE3::Identity(), pinocchio::OP_FRAME));
if (relative) {
ja_ = model_.getJointId("larmwrist2_joint");
ja_ = model_.getJointId("larm_wrist2_joint");
fa_ = model_.addFrame(pinocchio::Model::Frame(
"frame_a", ja_,
model_.getFrameId("larmwrist2_joint", pinocchio::JOINT),
model_.getFrameId("larm_wrist2_joint", pinocchio::JOINT),
SE3::Identity(), pinocchio::OP_FRAME));
} else {
ja_ = 0;
Expand Down

0 comments on commit 51bf42b

Please sign in to comment.