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

Fixed gazebo's 3D model shaking problem. #52

Closed takanotume24 closed 4 years ago

takanotume24 commented 4 years ago

There was a problem #51 that 3D model of pedestrian was shaky up and down when showing pedestrian on gazebo with pedsim_gazebo_plugin. When I added half of the model's height to the pose.z as an offset, the problem seemed to be temporarily solved. However, this method depends on the model represented by the current cube, so if you change the 3D model to something else, you'll have to change it.

makokal commented 4 years ago

Thanks for the contribution