Object origin not handled correctly by Gazebo for lighting? [closed]

asked 2012-02-10 00:39:59 -0600

Similar to the case described here for the mass origin, I strongly suspect that gazebo does not handle the origin tag correctly when trying to shade COLLADA models. Every time I use a COLLADA model in a .world file or urdf and set the origin to be different from zero (be it xyz or rpy or both), the shading does not work as expected. I suspect that gazebo shades these models as if they would still be at 0/0/0 0/0/0, even though they have a non-zero transformation. An example can be found in the hector_quadrotor_gazebo stack and spawned into a running gazebo world using

 roslaunch hector_quadrotor_gazebo spawn_quadrotor_with_laser.launch

The Hokuyo UTM-30LX model mounted to the quadrotor exhibits some very strange shading behavior, for example, when moving a point light up and down, the side of the LIDAR changes color. The model is available here. Normals appear to be correct in Meshlab, Blender and other viewers. It is also shaded correctly in rviz (even if it appears too bright due some material oddness).

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2013-09-18 14:09:42