MCPcopy Create free account
hub / github.com/OpenDriveLab/DriveAdapter / __init__

Method __init__

roach/criteria/run_red_light.py:8–11  ·  view source on GitHub ↗
(self, carla_map, distance_light=30)

Source from the content-addressed store, hash-verified

6class RunRedLight():
7
8 def __init__(self, carla_map, distance_light=30):
9 self._map = carla_map
10 self._last_red_light_id = None
11 self._distance_light = distance_light
12
13 def tick(self, vehicle, timestamp):
14 ev_tra = vehicle.get_transform()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected