(self)
| 27 | self._plan_gps_HACK = global_plan_gps |
| 28 | |
| 29 | def _init(self): |
| 30 | super()._init() |
| 31 | |
| 32 | self._vehicle = CarlaDataProvider.get_hero_actor() |
| 33 | self._world = self._vehicle.get_world() |
| 34 | |
| 35 | self._waypoint_planner = RoutePlanner(4.0, 50) |
| 36 | self._waypoint_planner.set_route(self._plan_gps_HACK, True) |
| 37 | |
| 38 | self._traffic_lights = list() |
| 39 | |
| 40 | def tick(self, input_data): |
| 41 | self._actors = self._world.get_actors() |
nothing calls this directly
no test coverage detected