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

Method __init__

roach/criteria/encounter_light.py:6–8  ·  view source on GitHub ↗
(self, dist_threshold=7.5)

Source from the content-addressed store, hash-verified

4class EncounterLight():
5
6 def __init__(self, dist_threshold=7.5):
7 self._last_light_id = None
8 self._dist_threshold = dist_threshold
9
10 def tick(self, vehicle, timestamp):
11 info = None

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected