(self, carla_world, proximity_threshold=50.0, speed_threshold=0.1, waypoint_step=1.0)
| 5 | class RunStopSign(): |
| 6 | |
| 7 | def __init__(self, carla_world, proximity_threshold=50.0, speed_threshold=0.1, waypoint_step=1.0): |
| 8 | self._map = carla_world.get_map() |
| 9 | self._proximity_threshold = proximity_threshold |
| 10 | self._speed_threshold = speed_threshold |
| 11 | self._waypoint_step = waypoint_step |
| 12 | |
| 13 | all_actors = carla_world.get_actors() |
| 14 | self._list_stop_signs = [] |
| 15 | for _actor in all_actors: |
| 16 | if 'traffic.stop' in _actor.type_id: |
| 17 | self._list_stop_signs.append(_actor) |
| 18 | |
| 19 | self._target_stop_sign = None |
| 20 | self._stop_completed = False |
| 21 | self._affected_by_stop = False |
| 22 | |
| 23 | def tick(self, vehicle, timestamp): |
| 24 | info = None |
nothing calls this directly
no test coverage detected