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

First urdf file

asked 2016-03-19 15:12:17 -0500

katiewasnothere gravatar image

I'm making my first urdf file and the tutorial says to roslaunch with display.launch but never says what that file contains. So I copied the launch file from the urdf_tutorial github page. However, when I try to run the full command for the model and rviz, etc, I get the following errors and no model shows on the screen:

pci id for fd 24: 80ee:beef, driver (null)
libGL error: core dri or dri2 extension not found
libGL error: failed to load driver: vboxvideo

(btw my urdf package is called urdf_practice and the file in the urdf folder is urdf_practice_file.urdf)

edit retag flag offensive close merge delete

Comments

Please link to any tutorials you are referring to (and in this case, the 'github page' that you copied things from).

gvdhoorn gravatar image gvdhoorn  ( 2016-03-20 04:00:35 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-03-20 03:59:40 -0500

gvdhoorn gravatar image

updated 2016-03-20 04:07:47 -0500

I get the following errors and no model shows on the screen:

pci id for fd 24: 80ee:beef, driver (null)
libGL error: core dri or dri2 extension not found
libGL error: failed to load driver: vboxvideo

This error isn't really related to any problems with your URDF or your package: RViz is trying to initialise the OpenGL subsystem, but that apparently isn't working properly in your VirtualBox vm.

I'd make sure you can run 3D / OpenGL applications in your VM first, before continuing with ROS (or at least: if you want to run things like RViz / Gazebo, as those tools will require a working OpenGL pipeline).


Edit: also:

the tutorial says to roslaunch with display.launch but never says what that file contains

I'm guessing 'the tutorial' is Building a Visual Robot Model with URDF from Scratch on the wiki. If so, it doesn't tell you anything about display.launch because that is a file that you're supposed to re-use (so not re-create), by just launching it from the urdf_tutorial package, as the example command line shows you:

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

Where urdf/01-myfirst.urdf is the path to your own urdf file. So in your case that would probably be (using the modified command explained a little later in the same tutorial):

roslaunch urdf_tutorial display.launch model:='$(find urdf_practice)/urdf/urdf_practice_file.urdf'

(but note that that would require urdf_practice to be on the ROS_PACKAGE_PATH (ie: you need to have (re)built your workspace after adding that package)).

edit flag offensive delete link more

Question Tools

Stats

Asked: 2016-03-19 15:12:17 -0500

Seen: 209 times

Last updated: Mar 20 '16