srl-freiburg / pedsim_ros

Pedestrian simulator powered by the social force model
https://github.com/srl-freiburg/pedsim_ros
BSD 2-Clause "Simplified" License
447 stars 169 forks source link

Use group forces #37

Closed Xingli-Han closed 4 years ago

Xingli-Han commented 4 years ago

The code for now comments out 4 lines for group forces in 'simulater.cpp', and also these forces are not accumulated to the force vector when computing the final force.Since I want to observe the group formation with these forces enabled, so I wonder is there a easy way to use these forces?

makokal commented 4 years ago

Yes and yes. The commented out sections were side effects of debugging, The forces are always computed as long as grouping is enabled