Skip to content
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

Why time step is slow? #9

Closed
devswha opened this issue Dec 21, 2017 · 4 comments
Closed

Why time step is slow? #9

devswha opened this issue Dec 21, 2017 · 4 comments
Assignees
Labels

Comments

@devswha
Copy link

devswha commented Dec 21, 2017

When I run the simulator based on introduction manual(start.sh -m ../maps/gml/Kobe2013/maps -c ../maps/gml/Kobe2013/config), it takes 5 seconds for each time steps.
Does it usually take five seconds for each step? Is there a way to change it?

@gnardin gnardin self-assigned this Dec 21, 2017
@gnardin
Copy link
Member

gnardin commented Dec 21, 2017

Dear @SWHAKO,
The simulator takes 5 seconds to run each step because this map has many elements (i.e., buildings and roads) and many agents too. We may improve the simulator performance in the future, but this is the usual timestep running time for this map.
I realized that suggesting this map as a testing map is not a good approach for beginners. Thus, I changed the default map to the test map that is much smaller. However, if you still want to run the kobe map, you can use the command line ./start.sh ../maps/gml/kobe. You do not need to set the map and config directories separately as you mentioned in your message.
I have also uploaded several other maps into the maps/gml directory. You may try these other maps to see their performance. For example, the San Francisco map maps/gml/sf takes only 3 seconds per timestep in my machine.
I also realized there is no intermediary size map. We have very large and very small maps. I will create an issue for us to develop an intermediary size map.

@devswha
Copy link
Author

devswha commented Dec 21, 2017

Thank you very much for your kind answers! In addition, I can not find San Francisco map in gml/sf.
And I think that make intermediary sized maps is a good idea. It is really helpful.

@gnardin
Copy link
Member

gnardin commented Dec 21, 2017

Dear @SWHAKO,
Please git pull the rcrs-server project again. I had included several maps after you opened the issue. If you still cannot see it, please let me know.

@devswha devswha closed this as completed Dec 21, 2017
@devswha
Copy link
Author

devswha commented Dec 21, 2017

Thank you very much for your kind answers! It's solved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants