carla-simulator / carla

Open-source simulator for autonomous driving research.
http://carla.org
MIT License
10.78k stars 3.47k forks source link

what is automatic_control exactly? #7010

Open hjyoon93 opened 6 months ago

hjyoon93 commented 6 months ago

Does automatic_control.py use autopilot? what kind of autonomous driving algorithm does it use?

Zhenlin-Xu commented 6 months ago

I recommend you check the directory carla/PythonAPI/carla/agents/navigation. It includes 3 types of agent behaviors, a global planner and a local PID controller.

I don't find the word autopilot in the python files in this directory.

Hope that is helpful to you.

ray9583 commented 5 months ago

Basically, it's an example pie game where you can run a self-driving simulation with the carla.agent module. You can modify the code in that example or configure self-driving while utilizing the agent module. Using the A* algorithm of the path search algorithm, it generates a set of shortest distance waypoints to the destination. A set of waypoints is a set of shortest paths.