ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

rviz disagrees with gazebo visuals?

asked 2012-11-21 12:34:25 -0500

jamuraa gravatar image

I've been modelling a new robot in URDF, and I tweaked the URDF using the urdf_tutorial package's xacrodisplay.launch to verify the model. I recently started using meshes to get a better visual look, and I have run into an issue where the visuals between the rviz from xacrodisplay and gazebo are different. If I line up the mesh checking by rotations / translations in rviz, and then switch to gazebo, it is all jacked up. See the images below for comparison (this is just after I tried to "fix" it in gazebo). I'm trying to figure out why the representations would be different when working from the same URDF file (available for inspection here).



edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-01-10 08:55:19 -0500

dbworth gravatar image

This bug still seems to exist in Fuerte as of Jan 2013.

See these posts:

To get around this, keep all your visual rotations zero.
If the visual mesh needs to be rotated with respect to the joint reference frame, either modify the mesh to match your link frame (which is the best idea to keep your URDF simple), or add an extra dummy joint+link with the required rotation.

edit flag offensive delete link more


I don't think the other one is related, because if I try the URDF that he has there, it is as expected. That ticket from Gazebo is enlightening though. I have been working on groovy compiling and installed, which uses Gazebo 1.2, which I'm hoping this problem is solved in.

jamuraa gravatar image jamuraa  ( 2013-01-16 08:42:14 -0500 )edit

Yes, your original question should mention which versions you are using.

dbworth gravatar image dbworth  ( 2013-01-16 23:51:16 -0500 )edit

Question Tools

1 follower


Asked: 2012-11-21 12:34:25 -0500

Seen: 526 times

Last updated: Jan 10 '13