forked from neobotix/neo_simulation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsimulation.launch
36 lines (25 loc) · 1.36 KB
/
simulation.launch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?xml version="1.0" encoding="UTF-8"?>
<launch>
<!--set to the required robot type and world-->
<arg name="robot_type" default="mpo_700"/>
<arg name="robot_world" default="neo_workshop.world"/>
<!--arg name="world_name" value=""/-->
<!--To launch RVIZ set the value to true-->
<arg name="rviz" default="true"/>
<!--To launch move base set the value to true-->
<arg name="autonomous_navigation" default="false"/>
<!---=================================================================================================================================================================-->
<!-- Basic Simulation -->
<include file="$(find neo_simulation)/launch/$(arg robot_type)/$(arg robot_type)_simulation_basic.launch">
<arg name="world_name_global" value="$(find neo_simulation)/worlds/$(arg robot_world)"/>
</include>
<!-- Autonomous Navigation -->
<group if="$(arg autonomous_navigation)">
<include file="$(find neo_simulation)/launch/$(arg robot_type)/$(arg robot_type)_autonomous_navigation.launch"/>
</group>
<!-- RVIZ -->
<group if="$(arg rviz)">
<include file="$(find neo_simulation)/launch/$(arg robot_type)/$(arg robot_type)_rviz.launch"/>
</group>
<!---=================================================================================================================================================================-->
</launch>