Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: 'LocalPlanner' object has no attribute '_waypoints_queue' #9

Open
i-kj opened this issue Oct 24, 2023 · 1 comment
Open

Comments

@i-kj
Copy link

i-kj commented Oct 24, 2023

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
Copy link

that is waypoints_queue. not _waypoints_queue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants