Skip to content

Commit e4a2bf4

Browse files
committed
Change name of goal_canceled_callback
1 parent 7443b54 commit e4a2bf4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ur_controllers/src/tool_contact_controller.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ ToolContactController::on_configure(const rclcpp_lifecycle::State& /* previous_s
6262
tool_contact_action_server_ = rclcpp_action::create_server<ur_msgs::action::ToolContact>(
6363
get_node(), std::string(get_node()->get_name()) + "/detect_tool_contact",
6464
std::bind(&ToolContactController::goal_received_callback, this, std::placeholders::_1, std::placeholders::_2),
65-
std::bind(&ToolContactController::goal_cancelled_callback, this, std::placeholders::_1),
65+
std::bind(&ToolContactController::goal_canceled_callback, this, std::placeholders::_1),
6666
std::bind(&ToolContactController::goal_accepted_callback, this, std::placeholders::_1));
6767

6868
return controller_interface::CallbackReturn::SUCCESS;
@@ -251,7 +251,7 @@ void ToolContactController::action_handler()
251251
}
252252
}
253253

254-
rclcpp_action::CancelResponse ToolContactController::goal_cancelled_callback(
254+
rclcpp_action::CancelResponse ToolContactController::goal_canceled_callback(
255255
const std::shared_ptr<rclcpp_action::ServerGoalHandle<ur_msgs::action::ToolContact>> goal_handle)
256256
{
257257
// Check that cancel request refers to currently active goal (if any)

0 commit comments

Comments
 (0)