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

Method __init__

roach/criteria/blocked.py:6–9  ·  view source on GitHub ↗
(self, speed_threshold=0.1, below_threshold_max_time=90.0)

Source from the content-addressed store, hash-verified

4class Blocked():
5
6 def __init__(self, speed_threshold=0.1, below_threshold_max_time=90.0):
7 self._speed_threshold = speed_threshold
8 self._below_threshold_max_time = below_threshold_max_time
9 self._time_last_valid_state = None
10
11 def tick(self, vehicle, timestamp):
12 info = None

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected