Skip to content

Commit c746c8e

Browse files
authored
fix(joint-trajectory-controller): use active tolerances in update step (#2101)
1 parent 6c3c996 commit c746c8e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

joint_trajectory_controller/src/joint_trajectory_controller.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ controller_interface::return_type JointTrajectoryController::update(
441441
within_goal_time = false;
442442
// print once, goal will be aborted afterwards
443443
check_state_tolerance_per_joint(
444-
state_error_, index, default_tolerances_.goal_state_tolerance[index],
444+
state_error_, index, active_tol->goal_state_tolerance[index],
445445
true /* show_errors */);
446446
}
447447
}

0 commit comments

Comments
 (0)