Home | Tutorials | Wiki | Issues
Ask Your Question
2

spawn_model fails in ROS groovy (Gazebo 1.3.0)

asked 2013-01-29 15:51:53 -0600

Tobi_von_T gravatar image

updated 2013-01-29 16:09:41 -0600

Hello, A few days ago I switched from fuerte to groovy. The shipped gazebo version at this time was 1.2.5 . Scince everything was working fine (simulating robots, spawning models, etc.) I decided to install groovy on 2 other machines. On those machines simulator gazebo has version 1.3.0 and it is not possible to spawn any models via "rosrun gazebo spawn_model ...". When using files with SDF version 1.3 I always get the following error:

[ERROR] [1359494067.230314246]: GazeboRosApiPlugin SpawnModel Failure: input xml format not recognized

I've made some experiments with really simple models and even older sdf versions. Nothing seems to work here. Any suggestions why this not working anymore?

Best regards,

Tobi

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
0

answered 2013-02-04 19:42:44 -0600

nkoenig gravatar image

How to spawn a model:

$ gzfactory spawn -f <sdf_file>

There are bunch of other options:

$ gzfactory -h
edit flag offensive delete link more
1

answered 2013-02-04 13:45:01 -0600

Ben B gravatar image

I get the feeling that most of the command line tools for spawning models are broken. The preferred way to launch SDFs is by putting models in the appropriate directory. Then they appear in the list of insertable models in Gazebo. The instructions are here.

edit flag offensive delete link more
0

answered 2013-02-04 19:39:32 -0600

hsu gravatar image

It was an uncaught sdf format update (root element of SDF changed from <gazebo> to <sdf>), addressed by ticket 5611. To be fixed with a new patch release.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

2 followers

Stats

Asked: 2013-01-29 15:51:53 -0600

Seen: 828 times

Last updated: Feb 04 '13