Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

Hi,

make sure you sourced the setup.bash file:

/<path>/gazebo$ source setup.bash

then run in a terminal:

$ rosrun gazebo gzsdf convert /<path>/your.sdf

or

/<path>/gazebo$ ./gazebo/bin/gzsdf convert /<path>/your.sdf

(you may need sudo rights for converting the empty.world file, or you could just create another one in a different package)

Cheers, Andrei

click to hide/show revision 2
updated with spawning

Hi,

make sure you sourced the setup.bash file:

/<path>/gazebo$ source setup.bash

then run in a terminal:

$ rosrun gazebo gzsdf convert /<path>/your.sdf

or

/<path>/gazebo$ ./gazebo/bin/gzsdf convert /<path>/your.sdf

(you may need sudo rights for converting the empty.world file, or you could just create another one in a different package)

!!!!Update!!!!

to spawn use:

$ gzfactory spawn -f /<path>/model.sdf -m model_name -x 1 -y 1 -z 2 -R 0 -P 0 -Y 0

Cheers, Andrei

Hi,

make sure you sourced the setup.bash file:

/<path>/gazebo$ source setup.bash

then run in a terminal:

$ rosrun gazebo gzsdf convert /<path>/your.sdf

or

/<path>/gazebo$ ./gazebo/bin/gzsdf convert /<path>/your.sdf

(you may need sudo rights for converting the empty.world file, or you could just create another one in a different package)

!!!!Update!!!!

to spawn use:

$ gzfactory spawn -f /<path>/model.sdf -m model_name -x 1 -y 1 -z 2 -R 0 -P 0 -Y 0

0

Cheers, Andrei