ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

rviz displays gap in robot model

asked 2011-08-21 22:21:58 -0600

dornhege gravatar image

One of my robot parts is not displayed correctly in rviz. There is a gap in the model that should not be there.

I am using dae models to get texturing. The corresponding STL model is displayed correctly in rviz. The .dae has a gap. Also the .dae and .stl both show up correctly in meshlab.

gap in model

I have used blender to save the .dae model from the imported .stl and also tried meshlab. Both result in a gap in rviz.

I have used the same procedure for all other links of the robotmodel and they worked fine. Does anyone have an idea what could be the reason why this part doesn't work?

edit retag flag offensive close merge delete


Have you checked the normals for the relevant part? I had a similar issue because of flipped normals in another model. OTOH, if all normals are flipped, we should be able to see the backside in the image.
Stefan Kohlbrecher gravatar image Stefan Kohlbrecher  ( 2011-08-22 05:28:56 -0600 )edit
Yes. It's not the problem. I flipped all normals in meshlab and could see the backsides of the rest of the part. The gap was still invisible.
dornhege gravatar image dornhege  ( 2011-08-22 07:09:13 -0600 )edit
This doesn't help you but I have exactly the opposite problem--I have an STL model for an AX-12 Dynamixel servo that is invisible in RViz (Electric RC-1) but when I convert it to .dae using Blender, I can see it.
Pi Robot gravatar image Pi Robot  ( 2011-08-22 13:08:02 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2011-09-01 23:02:39 -0600

dornhege gravatar image

It is more a fix than a solution, but I simplified the geometry of the part in a CAD program and could get it to show correctly in rviz. The geometry was quite detailed for the visual model, so I suspect rviz had problems displaying that.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2011-08-21 22:21:58 -0600

Seen: 409 times

Last updated: Sep 01 '11