srunner/scenariomanager/scenarioatomics/atomic_behaviors.py
def terminate(self, new_status):
        """
        On termination of this behavior, the offset is set back to zero
        """

        if not self._overwritten:
            try:
                check_actors = operator.attrgetter("ActorsWithController")
                actor_dict = check_actors(py_trees.blackboard.Blackboard())
            except AttributeError:
                pass

            if actor_dict and self._actor.id in actor_dict:
                actor_dict[self._actor.id].update_offset(0)

            self._overwritten = True

        super(ChangeActorLaneOffset, self).terminate(new_status)

        On termination of this behavior, the offset is set back to zero
        
On termination of this behavior, the offset is set back to zero
On termination of this behavior the offset is set back to zero
def terminate(self, new_status):
        if not self._overwritten:
            try:
                check_actors = operator.attrgetter("ActorsWithController")
                actor_dict = check_actors(py_trees.blackboard.Blackboard())
            except AttributeError:
                pass
            if actor_dict and self._actor.id in actor_dict:
                actor_dict[self._actor.id].update_offset(0)
            self._overwritten = True
        super(ChangeActorLaneOffset, self).terminate(new_status)
def terminate ( self , new_status ) : if not self . _overwritten : try : check_actors = operator . attrgetter ( "ActorsWithController" ) actor_dict = check_actors ( py_trees . blackboard . Blackboard ( ) ) except AttributeError : pass if actor_dict and self . _actor . id in actor_dict : actor_dict [ self . _actor . id ] . update_offset ( 0 ) self . _overwritten = True super ( ChangeActorLaneOffset , self ) . terminate ( new_status )
On termination of this behavior, the offset is set back to zero
On termination of this behavior the offset is set back to zero
"""
        On termination of this behavior, the offset is set back to zero
        """
self
new_status