Skip to content
Snippets Groups Projects
Unverified Commit 3c736f87 authored by Carlos A. Orduno's avatar Carlos A. Orduno Committed by GitHub
Browse files

Fix build errors (#1427)

Fixing build error introduced by #1356
parent fc81f1b2
No related branches found
No related tags found
No related merge requests found
......@@ -198,7 +198,7 @@ void ControllerServer::computeControl()
RCLCPP_ERROR(get_logger(), "FollowPath called with controller name %s, "
"which does not exist. Available controllers are %s.",
c_name.c_str(), controller_ids_concat_.c_str());
action_server_->terminate_goals();
action_server_->terminate_current();
return;
}
} else {
......
......@@ -132,7 +132,7 @@ WaypointFollower::followWaypoints()
// Check if asked to stop processing action
if (action_server_->is_cancel_requested()) {
RCLCPP_INFO(get_logger(), "Cancelling action.");
action_server_->terminate_goals();
action_server_->terminate_all();
return;
}
......@@ -171,7 +171,7 @@ WaypointFollower::followWaypoints()
"list and stop on failure is enabled."
" Terminating action.", goal_index);
result->missed_waypoints = failed_ids_;
action_server_->terminate_goals(result);
action_server_->terminate_current(result);
failed_ids_.clear();
return;
} else {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment