File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
simple_node/include/simple_node/actions Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -97,8 +97,8 @@ class ActionClient : public rclcpp_action::Client<ActionT> {
9797 this ->async_cancel_goal (this ->goal_handle ,
9898 std::bind (&ActionClient::cancel_done, this ));
9999
100- std::unique_lock<std::mutex> lock (this ->action_done_mutex );
101- this ->action_done_cond .wait (lock);
100+ std::unique_lock<std::mutex> lock (this ->cancel_done_mutex );
101+ this ->cancel_done_cond .wait (lock);
102102 }
103103 }
104104
@@ -168,7 +168,7 @@ class ActionClient : public rclcpp_action::Client<ActionT> {
168168 this ->action_done_cond .notify_one ();
169169 }
170170
171- void cancel_done () { this ->action_done_cond .notify_all (); }
171+ void cancel_done () { this ->cancel_done_cond .notify_all (); }
172172};
173173
174174} // namespace actions
You can’t perform that action at this time.
0 commit comments