Robotics StackExchange | Archived questions

Gazebo Ros Spawn Baxter.urdf Error (rospack)

So I'm trying to spawn the Baxter urdf in Gazebo 1.9 the standard way following the online tutorial but I keep getting this error.

[INFO] [WallTime: 1406710618.379330] [0.000000] Loading model xml from file [INFO] [WallTime: 1406710618.383029] [0.000000] Waiting for service /gazebo/spawnurdfmodel [INFO] [WallTime: 1406710618.450412] [0.000000] Calling service /gazebo/spawnurdfmodel Service call failed: service [/gazebo/spawnurdfmodel] responded with an error:

Unhandled exception in thread started by sys.excepthook is missing lost sys.stderr

I get this^ in the terminal window where I put the rosrun command in:

rosrun gazeboros spawnmodel -file catkinws/src/baxtercommon/baxter_description/urdf/baxter.urdf -urdf -z 1 -model baxter

And I get the outputs below in the terminal window where roslaunch was run.

[rospack] Error: stack/package baxterdescription not found [librospack]: error while executing command [FATAL] [1406710620.095704066, 5133.064000000]: Package[baxterdescription] does not have a path

I have run source ~/catkin_ws/devel/setup.bash when I realised this might be it but it wasn't the problem. And gazebo is definitely running.

Any help would be fantastic. Thanks

Asked by Recelis on 2014-07-30 05:08:09 UTC

Comments

can you move to the directory by typing roscd baxter_description? It looks like this package is not installed correctly...

Asked by evilBiber on 2014-07-30 06:06:46 UTC

Thanks evilBiber. That was the problem, I didn't do make build for some stupid reason.Thanks a lot.

Asked by Recelis on 2014-07-30 22:12:40 UTC

Answers