Skip to content

Commit

Permalink
doc fix: call canceled only after goal state is in canceling.
Browse files Browse the repository at this point in the history
Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com>
  • Loading branch information
fujitatomoya committed Aug 4, 2023
1 parent e296583 commit 32edc0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rclcpp_action/include/rclcpp_action/server_goal_handle.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ class ServerGoalHandle : public ServerGoalHandleBase

/// Indicate that a goal has been canceled.
/**
* Only call this if the goal is executing or pending, but has been canceled.
* Only call this if the goal is canceling, but has been canceled.
* This is a terminal state, no more methods should be called on a goal handle after this is
* called.
*
Expand Down

0 comments on commit 32edc0c

Please sign in to comment.