Skip to content

Commit

Permalink
Deprecate start with holding (#1076)
Browse files Browse the repository at this point in the history
  • Loading branch information
christophfroehlich committed Mar 21, 2024
1 parent a46f4b2 commit ea66755
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -930,6 +930,14 @@ controller_interface::CallbackReturn JointTrajectoryController::on_activate(
{
add_new_trajectory_msg(set_hold_position());
}
else
{
RCLCPP_WARN(
get_node()->get_logger(),
"Parameter \"start_with_holding\" is deprecated. "
"It will be removed in a future release and start with holding position will be the default "
"behavior.");
}
rt_is_holding_.writeFromNonRT(true);

// parse timeout parameter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ joint_trajectory_controller:
start_with_holding: {
type: bool,
default_value: true,
description: "If true, start with holding position after activation. Otherwise, no command will be sent until the first trajectory is received.",
description: "(Deprecated) If true, start with holding position after activation. Otherwise, no command will be sent until the first trajectory is received.",
}
allow_nonzero_velocity_at_trajectory_end: {
type: bool,
Expand Down

0 comments on commit ea66755

Please sign in to comment.