ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A answers.ros.org
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

In gazebo you can re-use the same urdf to spawn the same object at different places by using different model names.

rosrun gazebo spawn_model -urdf -file box.urdf -model box1 -x 1.0 -y 1.0 -z 1.0

rosrun gazebo spawn_model -urdf -file box.urdf -model box2 -x 4.0 -y 4.0 -z 1.0

In gazebo you can re-use the same urdf to spawn the same object at different places by using different model names.

rosrun gazebo spawn_model -urdf -file box.urdf -model box1 -x 1.0 -y 1.0 -z 1.0

rosrun gazebo spawn_model -urdf -file box.urdf -model box2 -x 4.0 -y 4.0 -z 1.0