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

error with rviz and .vcg file

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

jay75 gravatar image

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

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
1

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

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

Comments

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 image jay75  ( 2013-08-05 09:30:35 -0600 )edit

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

felix k gravatar image felix k  ( 2013-08-05 23:07:20 -0600 )edit

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

vijyant gravatar image vijyant  ( 2013-08-10 03:18:23 -0600 )edit
0

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

johnjamesmiller gravatar image

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

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://github.com/ros/ros_tutorials.git
git clone git://github.com/ros/urdf_tutorial.git
cd ~/overlay_ws/
catkin_make
source ~/overlay_ws/devel/setup.bash
echo "source ~/overlay_ws/devel/setup.bash" >> ~/.bashrc
roscd urdf_tutorials
pwd
# 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 http://wiki.ros.org/catkin/Tutorials/workspace_overlaying (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
/opt/ros/groovy/stacks/robot_model_tutorials/urdf_tutorial/urdf.vcg
...bunch o files, but now .rviz
edit flag offensive delete link more

Comments

1

Exploring the release repos I don't know where that release might lag. Anyway, getting the source into an [overlay](http://www.ros.org/wiki/groovy/Installation/Overlays) 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 image felix k  ( 2013-09-08 23:57:55 -0600 )edit

Question Tools

Stats

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

Seen: 3,580 times

Last updated: Sep 10 '13