I am trying to spawn my robot model using rospy in my python interface to Gazebo. In the launch file, I spawn the robot using:
<node name="urdf_spawner" pkg="gazebo_ros" type="spawn_model" respawn="false" output="screen" ns="$(arg robot_name)" args="-urdf -model $(arg robot_model) -param robot_description -z 1.015"/>
What would be the python way of doing the same? I'd be happy to share more details if needed. Thanks in advance!