leaderboard/leaderboard/scenarios/scenario_manager.py
def run_scenario(self):
        """
        Trigger the start of the scenario and wait for it to finish/fail
        """
        self.start_system_time = time.time()
        self.start_game_time = GameTime.get_time()

        self._watchdog.start()
        self._running = True

        while self._running:
            timestamp = None
            world = CarlaDataProvider.get_world()
            if world:
                snapshot = world.get_snapshot()
                if snapshot:
                    timestamp = snapshot.timestamp
            if timestamp:
                self._tick_scenario(timestamp)

        Trigger the start of the scenario and wait for it to finish/fail
        
Trigger the start of the scenario and wait for it to finish/fail
Trigger the start of the scenario and wait for it to finish / fail
def run_scenario(self):
        self.start_system_time = time.time()
        self.start_game_time = GameTime.get_time()
        self._watchdog.start()
        self._running = True
        while self._running:
            timestamp = None
            world = CarlaDataProvider.get_world()
            if world:
                snapshot = world.get_snapshot()
                if snapshot:
                    timestamp = snapshot.timestamp
            if timestamp:
                self._tick_scenario(timestamp)
def run_scenario ( self ) : self . start_system_time = time . time ( ) self . start_game_time = GameTime . get_time ( ) self . _watchdog . start ( ) self . _running = True while self . _running : timestamp = None world = CarlaDataProvider . get_world ( ) if world : snapshot = world . get_snapshot ( ) if snapshot : timestamp = snapshot . timestamp if timestamp : self . _tick_scenario ( timestamp )
Trigger the start of the scenario and wait for it to finish/fail
Trigger the start of the scenario and wait for it to finish / fail
"""
        Trigger the start of the scenario and wait for it to finish/fail
        """
self