diff --git a/Simulation/launch/turtlebot3_stage_1.launch b/Simulation/launch/turtlebot3_stage_1.launch new file mode 100644 index 0000000000000000000000000000000000000000..02f5f85341a4f989a8d08edfe057b71898ff3bf4 --- /dev/null +++ b/Simulation/launch/turtlebot3_stage_1.launch @@ -0,0 +1,21 @@ +<launch> + <arg name="model" default="$(env TURTLEBOT3_MODEL)" 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 turtlebot3_gazebo)/worlds/turtlebot3_stage_1.world"/> + <arg name="paused" value="false"/> + <arg name="use_sim_time" value="0.1"/> + <arg name="gui" value="true"/> + <arg name="headless" value="false"/> + <arg name="debug" value="false"/> + </include> + + + <param name="robot_description" command="$(find xacro)/xacro.py $(find turtlebot3_description)/urdf/turtlebot3_$(arg model).urdf.xacro" /> + + <node name="spawn_urdf" pkg="gazebo_ros" type="spawn_model" args="-urdf -model turtlebot3_burger -x $(arg x_pos) -y $(arg y_pos) -z $(arg z_pos) -param robot_description" /> + +</launch> diff --git a/Simulation/launch/turtlebot3_stage_2.launch b/Simulation/launch/turtlebot3_stage_2.launch new file mode 100644 index 0000000000000000000000000000000000000000..b1320c6a8a02f51c79063af6950e5bacca8b16a1 --- /dev/null +++ b/Simulation/launch/turtlebot3_stage_2.launch @@ -0,0 +1,20 @@ +<launch> + <arg name="model" default="$(env TURTLEBOT3_MODEL)" 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 turtlebot3_gazebo)/worlds/turtlebot3_stage_2.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.py $(find turtlebot3_description)/urdf/turtlebot3_$(arg model).urdf.xacro" /> + + <node name="spawn_urdf" pkg="gazebo_ros" type="spawn_model" args="-urdf -model turtlebot3_burger -x $(arg x_pos) -y $(arg y_pos) -z $(arg z_pos) -param robot_description" /> +</launch> diff --git a/Simulation/launch/turtlebot3_stage_3.launch b/Simulation/launch/turtlebot3_stage_3.launch new file mode 100644 index 0000000000000000000000000000000000000000..7a5d7277db675055c139153e2bf5feea8f2c9d1f --- /dev/null +++ b/Simulation/launch/turtlebot3_stage_3.launch @@ -0,0 +1,20 @@ +<launch> + <arg name="model" default="$(env TURTLEBOT3_MODEL)" 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 turtlebot3_gazebo)/worlds/turtlebot3_stage_3.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.py $(find turtlebot3_description)/urdf/turtlebot3_$(arg model).urdf.xacro" /> + + <node name="spawn_urdf" pkg="gazebo_ros" type="spawn_model" args="-urdf -model turtlebot3_burger -x $(arg x_pos) -y $(arg y_pos) -z $(arg z_pos) -param robot_description" /> + +</launch> diff --git a/Simulation/launch/turtlebot3_stage_4.launch b/Simulation/launch/turtlebot3_stage_4.launch new file mode 100644 index 0000000000000000000000000000000000000000..9be90b54ac807cb32db76d29b2bd39334a532bd4 --- /dev/null +++ b/Simulation/launch/turtlebot3_stage_4.launch @@ -0,0 +1,21 @@ +<launch> + <arg name="model" default="$(env TURTLEBOT3_MODEL)" doc="model type [burger, waffle, waffle_pi]"/> + <arg name="x_pos" default="-0.7"/> + <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 turtlebot3_gazebo)/worlds/turtlebot3_stage_4.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.py $(find turtlebot3_description)/urdf/turtlebot3_$(arg model).urdf.xacro" /> + + <node name="spawn_urdf" pkg="gazebo_ros" type="spawn_model" args="-urdf -model turtlebot3_burger -x $(arg x_pos) -y $(arg y_pos) -z $(arg z_pos) -param robot_description" /> + +</launch> diff --git a/Simulation/launch/zylinder.launch b/Simulation/launch/zylinder.launch new file mode 100644 index 0000000000000000000000000000000000000000..a65e959b96e780a74a5e3a291fdcf1a08c2e7456 --- /dev/null +++ b/Simulation/launch/zylinder.launch @@ -0,0 +1,19 @@ +<launch> + <arg name="model" default="$(env TURTLEBOT3_MODEL)" doc="model type [burger, waffle, waffle_pi]"/> + <arg name="x_pos" default="-1.035058"/> + <arg name="y_pos" default="-1.035058"/> + <arg name="z_pos" default="-0.001001"/> + + <include file="$(find gazebo_ros)/launch/empty_world.launch"> + <arg name="world_name" value="$(find turtlebot3_gazebo)/worlds/zylinder.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>