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

error with rviz and .vcg file

asked 2013-08-03 23:07:51 -0500

jay75 gravatar image

updated 2013-09-08 22:02:45 -0500

felix k gravatar image

this is the error when following the "Building a Visual Robot Model with URDF from Scratch" tutorial with the command:

$ roslaunch urdf_tutorial display.launch model:=01-myfirst.urdf.
ERROR: the config file '/opt/ros/groovy/stacks/robot_model_tutorials/urdf_tutorial/urdf.vcg' is a .vcg file, which is the old rviz config format.
       New config files have a .rviz extension and use YAML formatting.  The format changed
       between Fuerte and Groovy.  There is not (yet) an automated conversion program.
[rviz-3] process has died [pid 7228, exit code 1, cmd /opt/ros/groovy/lib/rviz/rviz -d /opt/ros/groovy/stacks/robot_model_tutorials/urdf_tutorial/urdf.vcg __name:=rviz __log:=/home/jaysin/.ros/log/4bfd76c6-fce3-11e2-9283-902b344ab2c8/rviz-3.log].
log file: /home/jaysin/.ros/log/4bfd76c6-fce3-11e2-9283-902b344ab2c8/rviz-3*.log
edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2013-08-05 01:23:42 -0500

felix k gravatar image

As the error message states, the RViz configuration format has changed.

As from the URDF tutorial sources that has already been fixed three months ago.

Where do you cloned your urdf_tutorial package from? And when, is it up to date? Try a git pull. Did you checked out another branch or something?

edit flag offensive delete link more


i entered the command : rosdep install urdf_tutorial i have both urdf.rviz and urdf.vcg in it just like on the github

jay75 gravatar imagejay75 ( 2013-08-05 09:30:35 -0500 )edit

And which one is linked within in `display.launch`? As from the commit that should be *urdf.rviz*.

felix k gravatar imagefelix k ( 2013-08-05 23:07:20 -0500 )edit

I am also facing the same problem. please explain in detail.

vijyant gravatar imagevijyant ( 2013-08-10 03:18:23 -0500 )edit

answered 2013-09-08 17:51:57 -0500

johnjamesmiller gravatar image

updated 2013-09-10 18:05:44 -0500

From what I gather the only path forward is to abandon the package in question and use the source from git for this particular package.

mkdir -p ~/overlay_ws/src
cd ~/overlay_ws/src
git clone git://
git clone git://
cd ~/overlay_ws/
source ~/overlay_ws/devel/setup.bash
echo "source ~/overlay_ws/devel/setup.bash" >> ~/.bashrc
roscd urdf_tutorials
# should be ~/overlay_ws/src/urdf_tutorial
cd ~/overlay_ws/src/urdf_tutorial/urdf_tutorial
roslaunch urdf_tutorial display.launch model:=06-flexible.urdf gui:=True

these steps were extracted from (thanks for the tip felix)

It looks like the package ros-groovy-robot-model-tutorials is broken. It contains a .vcg file but not a .rviz file.

dpkg-query -W ros-groovy-robot-model-tutorials
ros-groovy-robot-model-tutorials    0.1.2-s1374436389~precise

dpkg-query -L ros-groovy-robot-model-tutorials
...bunch o files
...bunch o files, but now .rviz
edit flag offensive delete link more



Exploring the release repos I don't know where that release might lag. Anyway, getting the source into an [overlay]( is the usual way. You don't have to uninstall the deb package, in which case you'll get notified for deb updates, too.

felix k gravatar imagefelix k ( 2013-09-08 23:57:55 -0500 )edit

Your Answer

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

Add Answer

The deadline to submit a proposal to present at ROSCon 2017 is June 25, 2017. Submit yours now!

Question Tools


Asked: 2013-08-03 23:07:51 -0500

Seen: 2,359 times

Last updated: Sep 10 '13