Skip to content

Commit

Permalink
Fix Atomic_behaviors AddActor Func
Browse files Browse the repository at this point in the history
No return status
  • Loading branch information
starrye authored Nov 5, 2024
1 parent 38fd9e7 commit 6d653bb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion srunner/scenariomanager/scenarioatomics/atomic_behaviors.py
Original file line number Diff line number Diff line change
Expand Up @@ -4593,7 +4593,9 @@ def update(self):
new_status = py_trees.common.Status.SUCCESS
except: # pylint: disable=bare-except
print("ActorSource unable to spawn actor")

new_status = py_trees.common.Status.FAILURE
finally:
return new_status

class SwitchWrongDirectionTest(AtomicBehavior):

Expand Down

0 comments on commit 6d653bb

Please sign in to comment.