20 lines
899 B
XML
20 lines
899 B
XML
<launch>
|
|
<arg name="model" default="burger" doc="model type [burger, waffle, waffle_pi]"/>
|
|
<arg name="x_pos" default="0.0"/>
|
|
<arg name="y_pos" default="0.0"/>
|
|
<arg name="z_pos" default="0.0"/>
|
|
|
|
<include file="$(find gazebo_ros)/launch/empty_world.launch">
|
|
<arg name="world_name" value="$(find clean_robot)/worlds/clean_room.world"/>
|
|
<arg name="paused" value="false"/>
|
|
<arg name="use_sim_time" value="true"/>
|
|
<arg name="gui" value="true"/>
|
|
<arg name="headless" value="false"/>
|
|
<arg name="debug" value="false"/>
|
|
</include>
|
|
|
|
<param name="robot_description" command="$(find xacro)/xacro --inorder $(find turtlebot3_description)/urdf/turtlebot3_$(arg model).urdf.xacro" />
|
|
|
|
<node pkg="gazebo_ros" type="spawn_model" name="spawn_urdf" args="-urdf -model turtlebot3_$(arg model) -x $(arg x_pos) -y $(arg y_pos) -z $(arg z_pos) -param robot_description" />
|
|
</launch>
|