Skip to content

Commit

Permalink
Fix constraint tolerance assignment (moveit#622)
Browse files Browse the repository at this point in the history
Forward port of moveit/moveit#2815
  • Loading branch information
nbbrooks authored and tylerjw committed Aug 27, 2021
1 parent f3442a6 commit b953422
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions moveit_core/kinematic_constraints/src/utils.cpp
Expand Up @@ -155,8 +155,8 @@ moveit_msgs::msg::Constraints constructGoalConstraints(const moveit::core::Robot
{
goal.joint_constraints[i].joint_name = jmg->getVariableNames()[i];
goal.joint_constraints[i].position = vals[i];
goal.joint_constraints[i].tolerance_above = tolerance_below;
goal.joint_constraints[i].tolerance_below = tolerance_above;
goal.joint_constraints[i].tolerance_above = tolerance_above;
goal.joint_constraints[i].tolerance_below = tolerance_below;
goal.joint_constraints[i].weight = 1.0;
}

Expand Down

0 comments on commit b953422

Please sign in to comment.