Skip to content

Commit

Permalink
Add parameter change notice
Browse files Browse the repository at this point in the history
  • Loading branch information
christophfroehlich committed Nov 29, 2023
1 parent 49b8434 commit d77b2e3
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,15 @@ controller_interface::CallbackReturn JointTrajectoryController::on_init()
return CallbackReturn::ERROR;
}

// TODO(christophfroehlich): remove deprecation warning
if (params_.allow_nonzero_velocity_at_trajectory_end == false)
{
RCLCPP_WARN(
get_node()->get_logger(),
"\"allow_nonzero_velocity_at_trajectory_end\" is set to false."
"The default behavior changed to false, and trajectories might get discarded.");
}

return CallbackReturn::SUCCESS;
}

Expand Down

0 comments on commit d77b2e3

Please sign in to comment.