-
-
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
Tick function for Reinforcement Learning #1809
Comments
Hi @kraken24, First of all, 0.9.4 has several issues with synchronous mode that have already being addressed in master, among them dead-locks when changing the map. Also take a look at #1803 as it may have some further fixes. The thing you need to know is that every time the simulator does an update (advances the simulation one step), it sends a message to the clients that are connected. We also call this update a "tick".
So if you enable synchronous mode, the simulator is going to halt until you call |
thank you @nsubiron Now i am able to work with synchronous mode. But I have 1 more problem, after spawining the vehicle and setting a fix velocity as initial setting,
is it because I use only 10 fps? |
|
Thanks @nsubiron Is there any documentation that explains relationship between carla vehicle control parameters and vehicle parameters. for example variation of rate of acceleration as i change throttle values. (all other parameters are kept constant) |
Not really, we just pass these values to the physics engine, PhysX Vehicles. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hi @nsubiron , What does the parameter seconds in the function world.wait_for_tick() mean? |
Hi @nsubiron,
Can I ask if I did something wrong? or how to make the control work in this case? Thanks! |
Hello Everyone,
I am using Carla 0.9.4 for developing reinforcement learning algorithm for autonomous driving.
I have 2 queries:
I am confused between world.tick, world.on_tick and world.wait_for_tick functions. I do not understand which function to use when?
I want simulator to perform certain step only when I give signals and it should stop when I train my neural network.
I have checked synchronous_mode.py but i still get error that: failed to connect to newly created map
The text was updated successfully, but these errors were encountered: