-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest_navigation.launch
34 lines (29 loc) · 1.18 KB
/
test_navigation.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
<?xml version="1.0" encoding="UTF-8"?>
<launch>
<!-- Initial Robot pose -->
<arg name="x_initial" default="-3.31"/>
<arg name="y_initial" default="-2.76"/>
<arg name="z_initial" default="0.1"/>
<arg name="roll_initial" default="0"/>
<arg name="pitch_initial" default="0"/>
<arg name="yaw_initial" default="-1.5707"/>
<!-- Environement variable for gazebo to find the Lidar Mesh -->
<env name="GAZEBO_MODEL_PATH" value="$(find my_robot)/meshes/"/>
<!-- Launch the world-->
<include file="$(find my_robot)/launch/world.launch">
<arg name="x" value="$(arg x_initial)"/>
<arg name="y" value="$(arg y_initial)"/>
<arg name="z" value="$(arg z_initial)"/>
<arg name="roll" value="$(arg roll_initial)"/>
<arg name="pitch" value="$(arg pitch_initial)"/>
<arg name="yaw" value="$(arg yaw_initial)"/>
</include>
<!-- Adaptive monte-carlo localization -->
<include file="$(find my_robot)/launch/amcl.launch">
<arg name="x" value="$(arg x_initial)"/>
<arg name="y" value="$(arg y_initial)"/>
<arg name="yaw" value="$(arg yaw_initial)"/>
</include>
<!-- Teleop keyboard -->
<!-- <include file="$(find my_robot)/launch/teleop.launch"/> -->
</launch>