Skip to content

Commit

Permalink
fix(simple-action-state): ensure we reset the preempt requested flag …
Browse files Browse the repository at this point in the history
…on each execute
  • Loading branch information
reinzor committed Sep 25, 2024
1 parent 3b3739d commit 32d9f1c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions smach_ros/smach_ros/simple_action_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,9 @@ def execute(self, ud):
goal with a non-blocking call to the action client.
"""

# Ensure we start clean
self._preempt_requested = False

# Make sure we're connected to the action server
try:
start_time = self.node.get_clock().now()
Expand Down

0 comments on commit 32d9f1c

Please sign in to comment.