-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
how does carla autopilot actually work? #36
Comments
I think that autopilot is an Unreal Engine pilot which moves through the streets. It is a test created just to move around the town environment. You can use it just requesting the measurements and picking |
Hi @debdip, as @lucosanta says, by autopilot we refer to the hard-coded AI inside the game, this AI takes advantage of all the privileged information available in game and has nothing to do with the learning approaches mention in the paper and video. |
hello Mr. nsubiron and lucosanta. Thank you for your reply. |
The AI control is sent every frame together with the measurements, you can send it back to the server to enable the autopilot, or modify if wanted to add for instance some noise to it. The gist that @lucosanta provided is a good example. With the current API (0.6.0), this is how you get the AI control and send it back to the server measurements = carla.getMeasurements()
ai_control = measurements['PlayerMeasurements'].ai_control
carla.sendCommand(ai_control) After 0.7.0 this is done with measurements, sensor_data = carla_client.read_data()
control = measurements.player_measurements.autopilot_control
carla_client.send_control(control) |
Does the API mean we can override |
Yes, you can modify it or replace with whatever you want. This is actually the way the learning methods in the paper control the vehicle.
No, sorry, this is not yet supported. It is one of the features we would like to add in the future. |
As per carla paper description it's used 3 different approaches: Modular pipeline, Imitation learning, Reinforcement learning. In which approach applied in carla autopilot mode?
Is autopilot implementation is open source? I only found binary.
The text was updated successfully, but these errors were encountered: