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

Spawning pr2 problem (pr2_simulator)

asked 2013-06-30 10:11:31 -0500

kir gravatar image

updated 2021-12-03 09:52:07 -0500

Evgeny gravatar image

Hello everyone,

I have problems with the pr2_simulator. I have installed it and I was following the first steps in the "Introductory Tutorials" of pr2_simulator. I was trying to spawn the pr2 robot in a Gazebo empty world.

I had to use

roslaunch gazebo_ros empty_world.launch

instead of

roslaunch gazebo_worlds empty_world.launch

in order to launch the 3d environment. (If I remember well it's because of the newer versions of Gazebo...)

However, when I launch the command

roslaunch pr2_gazebo pr2.launch

I get an error:

spawn status:  SpawnModel: Model pushed to spawn queue, but spawn service timed out waiting for model to appear in simulation under the name pr2

What can I do? :(

Thank you in advance!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-09-29 09:22:52 -0500

donmrsir gravatar image

Hi!,

I think that there is some problem with the urdf files for the pr2_robot. Probably the urdf files from the pr2_package you downloaded, are too old for the Gazebo version you are using. I think its a similar problem as the one asked here http://answers.ros.org/question/20049...

So i think the solution could be to make sure you are using the latest version of the pr2 package, and the ones that match the ubuntu version you have.

I hope this helps you!

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-06-30 10:11:31 -0500

Seen: 965 times

Last updated: Sep 29 '15