Comments (3)
Hi, have you started the server before running the automatic control script?
You have to run the CarlaUE4 executable first to start the Carla simulation, and then run the automatic control script.
from carla.
Hi @PabloVD, thanks for your reply!
Yes, the CARLA server is already running before I am executing the python script.
At the moment my temporary solution is to supply dummy VehicleControls with throttle = 1 and tick the server until the ego vehicle starts to actually move. I then switch to setting VehicleControl with brake = 1 and tick until the car comes to a complete stop again. Afterwards i reset the car to its initial starting position.
After that any VehicleControl command is immediately applied.
from carla.
@DP1997 This might be because of the vehicle physics.
Not sure why this is the case, but from testing, we saw that vehicles take around 0.5 seconds to start moving the first time after being spawned. We never really found out why, but it might be due to PhysX engaging the motor? If I recall correctly, one way to remove it was to set the manual_gear_shift to True, and the gear to 1 during one tick.
Closing the issue, but feel free to reopen it if it doesn't work
from carla.
Related Issues (20)
- ModuleNotFoundError: No module named 'tr'
- make import issue using roadrunner map HOT 1
- carla's python api set_transform () has a position error HOT 2
- Typo in CityScapes tags documentation
- MS22 error
- Failed to find XercesC (missing: XercesC_VERSION) HOT 3
- Adding a Person in a Wheelchair or with a Stroller in Carla
- Skyscrapers - Classic II Bank
- Link to CarSim.Build.cs broken
- Road Collision Precision
- Fine-grained traffi sign annotation in Python
- make osmrenderer fatal error: filesystem: No such file or directory #include <filesystem>
- [VideoRecorderTool] Retrieve Unreal actor name via Python. Create Method get_unreal_name()
- Could not find definition for module 'HoudiniEngine'
- Electric Poles variations HOT 1
- STOP Trafficsign and others
- Safe to delete Intermediate folder? HOT 1
- Failed to process dependencies for carla (0.9.10.1) HOT 4
- Traffic signs not visible HOT 1
- Is importing of .xodr map files (already) possible in CARLA-UE5? HOT 3
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.