Fuerte - no transformations published when using spawn_model
Hello fellow ROSers,
I've recently tried upgrading from Electric to Fuete but I'm getting errors relating to publishing of the transforms after I spawn a model. I started out with the simple spawning of a block in this tutorial, and while the block spawns in Gazebo, no transforms are published. Here's the output I receive:
In first terminal:
$ roslaunch gazebo_worlds empty_world.launch
... [some startup messages, no errors] ...
rosrun gazebo spawn_model -file ~/object.urdf -urdf -z 1 -model my_object
Warning [parser.cc:330] Gazebo SDF has no gazebo element
Warning [parser.cc:269] parse as sdf version 1.0 failed, trying to parse as old deprecated format
Error [parser_deprecated.cc:1159] Unable to get attribute. Node is null
Error [parser_deprecated.cc:1159] Unable to get attribute. Node is null
Error [parser_deprecated.cc:1159] Unable to get attribute. Node is null
Error [parser_deprecated.cc:1159] Unable to get attribute. Node is null
Error [parser_deprecated.cc:1159] Unable to get attribute. Node is null
Error [parser_deprecated.cc:1159] Unable to get attribute. Node is null
Error [parser_deprecated.cc:1159] Unable to get attribute. Node is null
Error [parser_deprecated.cc:1159] Unable to get attribute. Node is null
Error [parser_deprecated.cc:1159] Unable to get attribute. Node is null
Error [parser_deprecated.cc:1159] Unable to get attribute. Node is null
Error [parser_deprecated.cc:1159] Unable to get attribute. Node is null
Error [parser_deprecated.cc:1159] Unable to get attribute. Node is null
Warning [parser_deprecated.cc:1146] Node[physical] Has empty key value[static]
Warning [parser_deprecated.cc:1146] Node[empty] Has empty key value[]
Warning [parser_deprecated.cc:1146] Node[box] Has empty key value[mu1]
Warning [parser_deprecated.cc:1146] Node[box] Has empty key value[mu2]
Warning [parser_deprecated.cc:1146] Node[box] Has empty key value[fdir1]
Warning [parser_deprecated.cc:1146] Node[box] Has empty key value[slip1]
Warning [parser_deprecated.cc:1146] Node[box] Has empty key value[slip2]
Warning [parser_deprecated.cc:1146] Node[box] Has empty key value[bounce]
Warning [parser_deprecated.cc:1146] Node[box] Has empty key value[bounceVel]
Warning [parser_deprecated.cc:1146] Node[box] Has empty key value[kp]
Warning [parser_deprecated.cc:1146] Node[box] Has empty key value[kd]
Warning [parser_deprecated.cc:1146] Node[box] Has empty key value[softCFM]
Warning [parser_deprecated.cc:1146] Node[box] Has empty key value[maxVel]
Warning [parser_deprecated.cc:1146] Node[box] Has empty key value[minDepth]
Dbg Unable to find element with name[model] return empty
In second terminal:
$ rosrun gazebo spawn_model -file ~/object.urdf -urdf -z 1 -model my_object
loading model xml from file
waiting for service spawn_urdf_model
spawn status: SpawnModel: successfully spawned model
As I still have Electric installed, I have tried running the same code but with my ROS paths pointing to the Electric installation, and everything ran smoothly with no errors or warnings, and all transforms published.
Any ideas? Thanks for you help!
- Ubuntu oneiric 11.10
EDIT/UPDATE:
Opps, as hsu reminded me - there aren't supposed to be any transforms published when simply generating Block.urdf ...
I see, found the object.urdf in the tutorial. What transforms are you referring to?