Skip to content

Commit

Permalink
CHOMP: Fix handling of mimic joints (#3625)
Browse files Browse the repository at this point in the history
As the CHOMP planner only considers active joints, it needs to use setJointGroupActivePositions()
instead of setJointGroupPositions().
  • Loading branch information
rhaschke authored and sjahr committed Aug 2, 2024
1 parent bb4b0b8 commit ef4041e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -952,7 +952,7 @@ void ChompOptimizer::setRobotStateFromPoint(ChompTrajectory& group_trajectory, i
for (size_t j = 0; j < group_trajectory.getNumJoints(); ++j)
joint_states.emplace_back(point(0, j));

state_.setJointGroupPositions(planning_group_, joint_states);
state_.setJointGroupActivePositions(planning_group_, joint_states);
state_.update();
}

Expand Down

0 comments on commit ef4041e

Please sign in to comment.