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

urdf tutorial in groovy

asked 2013-05-22 09:36:05 -0500

JML gravatar image

When trying to visualize the simplest model in the urdf tutorial "Building a Visual Robot Model with URDF from Scratch" using the following command in Groovy:

roslaunch urdf_tutorial display.launch model:=01-myfirst.urdf

I get a blank(dark grey) display window named "urdf.vcg" instead of the usual Rviz window. However, running

rosrun rviz rviz

Works as expected. Is it a problem with my installation or does the tutorial need to be updated?

JML

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
2

answered 2013-05-22 09:48:48 -0500

David Lu gravatar image

This is similar to this question

A recent patch by Shaun Edwards adds a Groovy compatible config file.

edit flag offensive delete link more
2

answered 2013-05-22 15:17:06 -0500

I just removed the line "<node name="rviz" pkg="rviz" type="rviz" args="-d $(find urdf_tutorial)/urdf.vcg"/>" from the display.launch file and manually added RobotModel to rviz. Everytime I reload the display.launch file, I just uncheck and check the box to the right of RobotModel on rviz to reload the updated urdf model.

edit flag offensive delete link more
1

answered 2013-05-22 10:19:10 -0500

JML gravatar image

Works, thanks (and thanks Shaun)!

JML

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-05-22 09:36:05 -0500

Seen: 705 times

Last updated: May 22 '13