Skip to content
Snippets Groups Projects
Commit 931a6922 authored by Egli Adrian (IT-SCI-API-PFI)'s avatar Egli Adrian (IT-SCI-API-PFI)
Browse files

max frame rate can be set (demo.py)

parent 2ddee0f6
No related branches found
No related tags found
No related merge requests found
...@@ -225,5 +225,6 @@ if True: ...@@ -225,5 +225,6 @@ if True:
demo_flatland_000 = Demo(Scenario_Generator.load_scenario('./env-data/railway/example_network_003.pkl')) demo_flatland_000 = Demo(Scenario_Generator.load_scenario('./env-data/railway/example_network_003.pkl'))
demo_flatland_000.renderer.resize() demo_flatland_000.renderer.resize()
demo_flatland_000.set_max_framerate(2)
demo_flatland_000.run_demo(60) demo_flatland_000.run_demo(60)
demo_flatland_000 = None demo_flatland_000 = None
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment