AttributeError: 'LocalPlanner' object has no attribute '_waypoints_queue'
Opened this issue · 1 comments
i-kj commented
I'm encountering an issue when running the data_collector module in the CARLA-KITTI project. The error message I receive is:
csharp
AttributeError: 'LocalPlanner' object has no attribute '_waypoints_queue'
However, upon inspecting the LocalPlanner class located at /home/smit/CARLA_0.9.10/PythonAPI/carla/agents/navigation/local_planner.py, I can confirm that the _waypoints_queue attribute is indeed defined:
python
queue with tuples of (waypoint, RoadOption)
self._waypoints_queue = deque(maxlen=20000)
Steps to Reproduce:
Run the data_collector module with the --loop flag.
Observe the aforementioned error.
Additional Information:
I've added print statements to ensure that the correct version of the LocalPlanner class is being used.
The error persists regardless of other flags used with the data_collector module.
I'd appreciate any insights or suggestions on how to resolve this issue. Thanks in advance!
965295342 commented
that is waypoints_queue. not _waypoints_queue