Skip to content

Commit

Permalink
Also update tolerances from update method
Browse files Browse the repository at this point in the history
  • Loading branch information
christophfroehlich committed Sep 9, 2023
1 parent c42f0ea commit c7996d4
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ controller_interface::return_type JointTrajectoryController::update(
if (use_closed_loop_pid_adapter_)
{
update_pids();
default_tolerances_ = get_segment_tolerances(params_);
}
}

Expand Down Expand Up @@ -798,6 +799,7 @@ controller_interface::CallbackReturn JointTrajectoryController::on_configure(
get_interface_list(params_.command_interfaces).c_str(),
get_interface_list(params_.state_interfaces).c_str());

// parse remaining parameters
default_tolerances_ = get_segment_tolerances(params_);

const std::string interpolation_string =
Expand Down

0 comments on commit c7996d4

Please sign in to comment.