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

Question: Model parameters #49

Open
bbrito opened this issue Apr 8, 2020 · 2 comments
Open

Question: Model parameters #49

bbrito opened this issue Apr 8, 2020 · 2 comments

Comments

@bbrito
Copy link

bbrito commented Apr 8, 2020

Dear pedsim_ros team,

Thanks for this amazing simulator. Which parameters should I change in order to ensure that the pedestrians keep a larger distance among each other?

Best,
Bruno

@makokal
Copy link
Member

makokal commented Apr 13, 2020

The separation distance is computed based on the forces acting on the agents. We do not have this nicely parametrized right now but it is possible to make it so. A starting point is the move method here https://github.com/srl-freiburg/pedsim_ros/blob/master/pedsim_simulator/src/element/agent.cpp#L179

The forces are weighted by the values here https://github.com/srl-freiburg/pedsim_ros/blob/master/pedsim_simulator/src/config.cpp#L37

You can tweak these to get to what you need.
If you have some spare cycles, it would be nice to add these to YAML for easy config updates

@bbrito
Copy link
Author

bbrito commented Apr 13, 2020

Nice! Thanks! I can do that. I will submit a pull request later.

Best,
Bruno

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

No branches or pull requests

2 participants