Skip to content

Commit

Permalink
doc fix: call canceled only after goal state is in canceling. (ros2…
Browse files Browse the repository at this point in the history
…#2266)

Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com>
  • Loading branch information
fujitatomoya authored and Barry-Xu-2018 committed Jan 12, 2024
1 parent 88079c3 commit 69c7ab0
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 69c7ab0

Please sign in to comment.