srunner/scenariomanager/scenarioatomics/atomic_behaviors.py
def initialise(self):
        """
        Set _start_time and get (actor, controller) pair from Blackboard.

        Set offset for actor controller.

        May throw if actor is not available as key for the ActorsWithController
        dictionary from Blackboard.
        """
        actor_dict = {}

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

        if not actor_dict or not self._actor.id in actor_dict:
            raise RuntimeError("Actor not found in ActorsWithController BlackBoard")

        self._start_time = GameTime.get_time()

        actor_dict[self._actor.id].update_offset(self._offset, start_time=self._start_time)

        super(ChangeActorLaneOffset, self).initialise()

        Set _start_time and get (actor, controller) pair from Blackboard.

        Set offset for actor controller.

        May throw if actor is not available as key for the ActorsWithController
        dictionary from Blackboard.
        
Set _start_time and get (actor, controller) pair from Blackboard.
Set offset for actor controller.

May throw if actor is not available as key for the ActorsWithController
dictionary from Blackboard.
Set _start_time and get ( actor controller ) pair from Blackboard . Set offset for actor controller . May throw if actor is not available as key for the ActorsWithController dictionary from Blackboard .
def initialise(self):
        actor_dict = {}
        try:
            check_actors = operator.attrgetter("ActorsWithController")
            actor_dict = check_actors(py_trees.blackboard.Blackboard())
        except AttributeError:
            pass
        if not actor_dict or not self._actor.id in actor_dict:
            raise RuntimeError("Actor not found in ActorsWithController BlackBoard")
        self._start_time = GameTime.get_time()
        actor_dict[self._actor.id].update_offset(self._offset, start_time=self._start_time)
        super(ChangeActorLaneOffset, self).initialise()
def initialise ( self ) : actor_dict = { } try : check_actors = operator . attrgetter ( "ActorsWithController" ) actor_dict = check_actors ( py_trees . blackboard . Blackboard ( ) ) except AttributeError : pass if not actor_dict or not self . _actor . id in actor_dict : raise RuntimeError ( "Actor not found in ActorsWithController BlackBoard" ) self . _start_time = GameTime . get_time ( ) actor_dict [ self . _actor . id ] . update_offset ( self . _offset , start_time = self . _start_time ) super ( ChangeActorLaneOffset , self ) . initialise ( )
Set _start_time and get (actor, controller) pair from Blackboard.
Set _start_time and get ( actor controller ) pair from Blackboard .
"""
        Set _start_time and get (actor, controller) pair from Blackboard.

        Set offset for actor controller.

        May throw if actor is not available as key for the ActorsWithController
        dictionary from Blackboard.
        """
self