Skip to content

Commit

Permalink
doc fix: call canceled only after goal state is in canceling. (#2266)
Browse files Browse the repository at this point in the history
Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com>
  • Loading branch information
fujitatomoya authored Aug 21, 2023
1 parent 89f0afe commit fd229d7
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.
* 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 fd229d7

Please sign in to comment.