-
Notifications
You must be signed in to change notification settings - Fork 367
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
fps issue #360
Comments
Hi, 0.9.6 is faster than 0.9.5 (I think this was somehow related to the switch to Unreal 4.22). We have a synchronous mode on the roadmap for scenario runner, which would help to address your issue. |
Probably worth adding an fps command line argument |
Hi @fabianoboril , We would like to have this feature in scenario_runner as it will allow us to run the scenario at the desired speed. Sometimes scenario runs way faster and would wish to play at a slower speed in the manual control window.
|
The synchronous mode works with agents (like in the CARLA challenge). If this is not what you need, you can take a look into the ScenarioManager code, where the main loop is called: |
Thanks for the reply. I just have a question, Is the server FPS shown in manual_control.py HUD display related to the fps setting we set from config.py file. I don't see any change even after setting the fps to different values. |
Description of question or idea
I upgraded scenario runner to 0.9.6 from 0.9.5
I see that scenarios run faster in 0.9.6 version when compared to 0.9.5 and look like speedup version of that running in 0.9.5.
Is this an fps issue?
I saw that frame_rate option is added and set to 20 in scenario runner.py and also updated with each reload world.
If it gets updated with each reloadWorld, when we run a new scenario, how to maintain desired fps for simulator using config,py,
Also, the HUD when manual_control.py is run shows the server and client fps as varying and near to 60. Should anyone of them show 20 as we are setting the value to 20?
Expected behavior
Normal execution of scenario with no speedup.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: