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

speeding up simulation? #35

Closed RGring closed 5 years ago

RGring commented 5 years ago

Is there any option to run the simulation faster than real time? I tried to publish faster time via /clock topic (with use_sim_time = true), but I didn't it running yet. I am happy about any hints, that might help :).

makokal commented 5 years ago

Yes, there is https://github.com/srl-freiburg/pedsim_ros/blob/master/pedsim_simulator/src/config.cpp#L38 Sorry for a late response. I can also expose this to launch files

makokal commented 5 years ago

@RGring Speeding up/slow down is now possible. See the simple_pedestrians.launch example.