Gazebo | Ignition | Community
Ask Your Question

gzfactory spawning not working in Gazebo 1.2

asked 2012-12-06 07:40:03 -0500

AndreiHaidu gravatar image


1)I am trying to spawn an sdf model using the gzfactory command line tool.
For this command I get the following error:

$gzfactory spawn -f .gazebo/models/table/model.sdf -m table -x 1 -y 1 -z 2 -R 0 -P 0 -Y 0

Error [] Unable to find value for key[origin]
Error [] Missing element description for [origin]
Segmentation fault (core dumped)

2)If I try to spawn it from a world plugin via msgs::Factory messages on the "~/factory" topic.

msgs::Factory msg;
msgs::Set(msg.mutable_pose(), math::Pose(math::Vector3(0.3, 0.5, 0.945), math::Quaternion(0.0, 0.0, 0.0)))

OR with:


I get these errors:

Error [] Unknown URI prefix[~/.gazebo/models/table/model.sdf]
Error [] Unable to download model[~/.gazebo/models/table/model.sdf]
Error [] Invalid model manifest file[/manifest.xml]
Error [] Unable to read sdf file.

How am I supposed to add a local model to gazebo ??

Cheers, Andrei

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-12-07 10:45:16 -0500

natepak gravatar image

It is indeed broken. I've created a ticket for this issue.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools


Asked: 2012-12-06 07:40:03 -0500

Seen: 725 times

Last updated: Dec 07 '12