Skip to content

Commit 8dc48c1

Browse files
committed
is_canceling fixed c++
1 parent ecc09ea commit 8dc48c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

simple_node/include/simple_node/actions/action_server.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ class ActionServer : public rclcpp_action::Server<ActionT> {
7171

7272
void wait_for_canceling() {
7373
if (this->server_canceled && this->goal_handle != nullptr) {
74-
while (!this->goal_handle->is_cancel_requested()) {
74+
while (!this->goal_handle->is_canceling()) {
7575
std::this_thread::sleep_for(std::chrono::seconds(1));
7676
}
7777
}

0 commit comments

Comments
 (0)