Gazebo | Ignition | Community
Ask Your Question

Insert sdf at coordinates

asked 2018-08-04 16:56:02 -0500

jc gravatar image


Is it possible to insert an sdf file at specific coordinates in Gazebo? For instance the origin? All I can seem to do is select my model from the insert tab and then manually place it in the viewport.

I'm new to Gazebo so my understanding of how to properly use it is still forming.


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-08-06 08:56:31 -0500

mpc gravatar image

You should be able to add a model in your world file, with code similar to this:

        <pose>2.5 1.5 0.5 0 0 0</pose>

Where the numbers represents the global pose and orientation.

edit flag offensive delete link more


That was the missing piece of the puzzle. The world tutorials led me astray, thanks for the help. If anyone is curious on where Gazebo looks for model files see here:

jc gravatar imagejc ( 2018-08-06 10:10:21 -0500 )edit

Question Tools

1 follower


Asked: 2018-08-04 16:56:02 -0500

Seen: 747 times

Last updated: Aug 06 '18