Ask Your Question
1

Problem loading urdf in rviz (groovy)

asked 2013-02-11 02:23:32 -0500

Pouya gravatar image

updated 2013-02-11 02:24:40 -0500

I'm trying to follow urdf tutorials at http://www.ros.org/wiki/urdf/Tutorials/Building%20a%20Visual%20Robot%20Model%20with%20URDF%20from%20Scratch and in the very first step I'm having difficulties to load the urdf model in rviz. As suggested by tutorial, I run the command:

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

Running this line, an empty rviz scene is opened like the image below:

http://img268.imageshack.us/img268/5176/screenshot20130211at315.png

Just in case, here is the contents of the urdf.vcg file:

Background\ ColorR=0.0941176
Background\ ColorG=0
Background\ ColorB=0.466667
Fixed\ Frame=/base_link
Target\ Frame=<Fixed Frame>
Grid.Alpha=0.5
Grid.Cell\ Size=0.5
Grid.ColorR=0.898039
Grid.ColorG=0.898039
Grid.ColorB=0.898039
Grid.Enabled=1
Grid.Line\ Style=0
Grid.Line\ Width=0.03
Grid.Normal\ Cell\ Count=0
Grid.OffsetX=0
Grid.OffsetY=0
Grid.OffsetZ=0
Grid.Plane=0
Grid.Plane\ Cell\ Count=10
Grid.Reference\ Frame=<Fixed Frame>
Robot\ Model.Alpha=1
Robot\ Model.Collision\ Enabled=0
Robot\ Model.Enabled=1
Robot\ Model.Robot\ Description=robot_description
Robot\ Model.TF\ Prefix=
Robot\ Model.Update\ Interval=0
Robot\ Model.Visual\ Enabled=1
Robot\:\ Robot\ Model\ Link\ base_linkShow\ Axes=0
Robot\:\ Robot\ Model\ Link\ base_linkShow\ Trail=0
Robot\:\ Robot\ Model\ Link\ legShow\ Axes=0
Robot\:\ Robot\ Model\ Link\ legShow\ Trail=0
Tool\ 2D\ Nav\ GoalTopic=goal
Tool\ 2D\ Pose\ EstimateTopic=initialpose
Camera\ Type=rviz::OrbitViewController
Camera\ Config=1.15779 3.76081 2.16475 0 0 0
Property\ Grid\ State=selection=.Global StatusTopStatus;expanded=.Global Options,Grid.Enabled,Robot Model.Enabled;scrollpos=0,0;splitterpos=150,285;ispageselected=1
[Display0]
Name=Grid
Package=rviz
ClassName=rviz::GridDisplay
[Display1]
Name=Robot Model
Package=rviz
ClassName=rviz::RobotModelDisplay

P.S. Running the command above, generates no error.

edit retag flag offensive close merge delete

Comments

Can you show the content of display.launch ?

Fabien R gravatar image Fabien R  ( 2013-06-25 06:46:29 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2013-06-25 07:03:17 -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

Comments

1

Note that the current ros-groovy-urdf-tutorial package includes this fix. So, if you're using groovy, you can probably just update your debian packages, and the tutorial should work. Otherwise, you can download the latest urdf_tutorial package source to your ROS package path. No compiling req'd!

Jeremy Zoss gravatar image Jeremy Zoss  ( 2013-06-25 19:10:18 -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

1 follower

Stats

Asked: 2013-02-11 02:23:32 -0500

Seen: 1,007 times

Last updated: Jun 25 '13