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

Revision history [back]

I believe that the Groovy error has nothing to do with the urdf files themselves. I'm guessing that you are calling a launch file that is opening rviz with the urdf.vcg file using the -d argument. This is throwing the error because rviz in groovy doesn't use vcg files anymore. On my system in /opt/ros/groovy/stacks/robot_model_tutorials/urdf_tutorial/ I have a urdf.vcg file, and a display.launch file that explicitly sets the urdf.vcg configuration. In /opt/ros/groovy/share/urdf_tutorial I have a display.launch file that instead uses a urdf.rviz file. This is the correct launch file, and it should work for you.

Right now, on Groovy, there are two packages that both wrap up the files I've been talking about. ros-groovy-urdf-tutorial provides the correct display.launch file, and ros-groovy-robot-model-tutorials provides the one that you are trying to call. To call the correct display.launch, check that you have the urdf-tutorial package installed.

Alternatively, you could just copy the launch file and comment or edit the calls to rviz.

I believe that the Groovy error has nothing to do with the urdf files themselves. I'm guessing that you are calling a launch file that is opening rviz with the urdf.vcg file using the -d argument. This is throwing the error because rviz in groovy doesn't use vcg files anymore. On my system in /opt/ros/groovy/stacks/robot_model_tutorials/urdf_tutorial/ I have a urdf.vcg file, and a display.launch file that explicitly sets the urdf.vcg configuration. In /opt/ros/groovy/share/urdf_tutorial I have a display.launch file that instead uses a urdf.rviz file. This is the correct launch file, and it should work for you.

Right now, on Groovy, there are two apt-get packages that both wrap up the files I've been talking about. ros-groovy-urdf-tutorial provides the correct display.launch file, and ros-groovy-robot-model-tutorials provides the one that you are trying to call. To call the correct display.launch, check that you have the urdf-tutorial package installed.

Alternatively, you could just copy the launch file and comment or edit the calls to rviz.rviz. If you are using your own launch file, then you probably just need to edit it a bit.