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

Fix gazebo model direction #56

Closed takanotume24 closed 4 years ago

takanotume24 commented 4 years ago

Solved the problem shown in #53 where Gazebo's 3D model is always facing the same direction, which was due to the fact that there was no value in AgentState's pose.orientation in the first place. I've modified the code by referring to this. https://github.com/srl-freiburg/pedsim_ros/blob/b21218347149657f0639ada23da8847f537811ce/pedsim_visualizer/src/sim_visualizer.cpp#L98

makokal commented 4 years ago

Thanks for this fix.