Comments (6)
Does the API mean we can override ai_control and replace it with whatever we want?
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.
Can I have multiple clients that controls several cars in the same environment?
No, sorry, this is not yet supported. It is one of the features we would like to add in the future.
from carla.
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 ai_control
data. You can look a similar example in this gist.
from carla.
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.
from carla.
hello Mr. nsubiron and lucosanta. Thank you for your reply.
That's why maybe semantic segmentation is disabled.
I've another question Mr. nsubiron.
Is there any option available to make it enable so that I can perform PSPnet or others to apply and make decision?
from carla.
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)
from carla.
Does the API mean we can override ai_control
and replace it with whatever we want?
Another question: can I have multiple clients that controls several cars in the same environment?
from carla.
Related Issues (20)
- Setup.sh: Implement a work around when apt update not works
- No CarlaUE4.sh file HOT 2
- launch error HOT 2
- How to replay and record from a driving perspective HOT 5
- ShaderCompileWorker directory not found error when launching the Editor HOT 2
- CARLA C++ client example/easy_import_cmake_include HOT 3
- destroying actors from a list HOT 2
- CarlaUnreal repository not found HOT 2
- BuildLibCarla.sh: Building LibCarla "Client.Release" configuration.
- Using the manual_control.py script, pygame displays a black screen HOT 3
- Create OptiX UE5 Plugin
- Import Static object to OptiX Scene
- Import Dynamic Objects to OptiX Scene
- Test Ray tracing capabilities from OptiX
- Add to Spawn Actor Function Attributes Map HOT 1
- Create mechanisim to get post process volume values into camera sensor
- Fix Pedestrians colision Gen3
- Sensors in CARLA unaffected by weather conditions HOT 1
- How to acquire intensity and angle when using LiDAR? HOT 1
- Carla crash with quality mode low and RenderOffScreen HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from carla.