Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Spawning baxter.urdf not possible - Gazebo doenst start: "Waiting for service.."

Hello,

I just followed this tutorial:

http://gazebosim.org/tutorials?tut=ros_roslaunch#URDFExamplewithBaxter

First I typed in the terminal:

git clone https://github.com/RethinkRobotics/baxter_common.git

After that I tried to use the following command in the tutorial:

rosrun gazebo_ros spawn_model -file `rospack find baxter_description`/urdf/baxter.urdf -urdf -z 1 -model baxter

So this happens:

[rospack] Error: package 'baxter_description' not found
SpawnModel script started
[INFO] [1546435163.252531]: Loading model XML from file
[ERROR] [1546435163.253191]: Error: file does not exist /urdf/baxter.urdf

I changed the command with the absolut directory to:

rosrun gazebo_ros spawn_model -file /home/MYUSERNAME/baxter_common/baxter_description/urdf/baxter.urdf -urdf -z 1 -model baxter

But then Gazebo doesnt start and hang at Waiting for service:

SpawnModel script started
[INFO] [1546435269.803023]: Loading model XML from file
[INFO] [1546435269.803909]: Waiting for service /gazebo/spawn_urdf_model

I am a very new beginner and thankful for every help.

Spawning baxter.urdf not possible - Gazebo doenst start: "Waiting for service.."

Hello,

I just followed this tutorial:

http://gazebosim.org/tutorials?tut=ros_roslaunch#URDFExamplewithBaxter

First I typed in the terminal:

git clone https://github.com/RethinkRobotics/baxter_common.git

After that I tried to use the following command in the tutorial:

rosrun gazebo_ros spawn_model -file `rospack find baxter_description`/urdf/baxter.urdf -urdf -z 1 -model baxter

So this happens:

[rospack] Error: package 'baxter_description' not found
SpawnModel script started
[INFO] [1546435163.252531]: Loading model XML from file
[ERROR] [1546435163.253191]: Error: file does not exist /urdf/baxter.urdf

I changed the command with the absolut directory to:

rosrun gazebo_ros spawn_model -file /home/MYUSERNAME/baxter_common/baxter_description/urdf/baxter.urdf -urdf -z 1 -model baxter

But then Gazebo doesnt start and hang at Waiting for service:

SpawnModel script started
[INFO] [1546435269.803023]: Loading model XML from file
[INFO] [1546435269.803909]: Waiting for service /gazebo/spawn_urdf_model

I am a very new beginner and thankful for every help.