1 | initial version |
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
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
3 | No.3 Revision |
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 Cheers, Andrei