Skip to content

Commit

Permalink
publish action goal status once accepted before execution.
Browse files Browse the repository at this point in the history
Signed-off-by: Tomoya.Fujita <[email protected]>
  • Loading branch information
fujitatomoya committed Feb 27, 2024
1 parent 9536f8e commit a8ace08
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rclpy/rclpy/action/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,9 @@ async def _execute_goal_request(self, request_header_and_message):

self._logger.debug('New goal accepted: {0}'.format(goal_uuid.uuid))

# Publish accepted status before execution
self._handle.publish_status()

# Provide the user a reference to the goal handle
await await_or_execute(self._handle_accepted_callback, goal_handle)

Expand Down

0 comments on commit a8ace08

Please sign in to comment.