Home | Tutorials | Wiki | Issues
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

ROS Groovy Gazebo cannot spawn objects

I am just trying to spawn objects and I have just copied two commands from tutorial: http://www.ros.org/wiki/simulator_gazebo/Tutorials/Gazebo_ROS_API Both give same exact errors. I have tried with multipe model files under gazebo_worlds/objects/*.model but they all seems to give same errors below.

1.  rosrun gazebo spawn_model -file `rospack find gazebo_worlds`/objects/desk1.model -gazebo -model desk1 -x 0
2.  rosrun gazebo spawn_model -file `rospack find gazebo_worlds`/objects/000.580.67.model -gazebo -model cup -z 2

Warning [parser.cc:374] Gazebo SDF has no <gazebo> element in file[data-string]
[ERROR] [1358995976.958104948, 86.064000000]: Could not find the 'robot' element in the xml file
Error [parser_urdf.cc:1659] Unable to call parseURDF on robot model
Warning [parser.cc:374] Gazebo SDF has no <gazebo> element in file[urdf string]
Error [parser.cc:318] parse as old urdf model file failed.
Error [World.cc:1190] Unable to read sdf string

I am not able to spawn any objects that came with ROS Groovy. Are these model files outdated?