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

RViz does not respect transparency (alpha) for a simple URDF component (e.g. cylinder)

asked 2011-08-09 04:43:41 -0500

Pi Robot gravatar image


I am trying to make a part of my URDF model semi transparent since the part is a clear 12" acrylic plate. So I tried making the plate a flat cylinder with a light grey color and alpha set to 0.1 as shown below. However, the plate looks solid grey in RViz--the same as if I had set alpha to 1.0. I can make the whole robot more or less transparent by changing the alpha property for the Robot Model display. However, I want just the plate to be transparent. Below is a test URDF file that illustrates the problem. I am trying this using the latest Electric debian packages under Ubuntu 10.04.

<?xml version="1.0"?>

<!-- XML namespaces -->
<robot xmlns:sensor=""

        <link name="base_link">
                <origin xyz="0 0 0" rpy="0 0 0" />
                    <cylinder length="0.005" radius="0.15" />
                <material name="clear_color">
                    <color rgba="0.5 0.5 0.5 0.1"/>
edit retag flag offensive close merge delete


+1: I have seen the same problem in diamondback on Ubuntu 10.10
Nick Armstrong-Crews gravatar image Nick Armstrong-Crews  ( 2011-08-26 00:52:54 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2011-09-01 04:17:52 -0500

Wim gravatar image

Can you report this problem on the bug tracking of the visualization stack? You find a link at the bottom of the wiki page

edit flag offensive delete link more


Done! The ticket can be found here:
Pi Robot gravatar image Pi Robot  ( 2011-09-01 05:31:17 -0500 )edit

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-09 04:43:41 -0500

Seen: 2,083 times

Last updated: Sep 01 '11