-
Notifications
You must be signed in to change notification settings - Fork 8
/
move_base.launch
34 lines (25 loc) · 1.74 KB
/
move_base.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"?>
<launch>
<arg name="no_static_map" default="true"/>
<arg name="base_global_planner" default="navfn/NavfnROS"/>
<arg name="base_local_planner" default="dwa_local_planner/DWAPlannerROS"/>
<!-- <arg name="base_local_planner" default="base_local_planner/TrajectoryPlannerROS"/> -->
<node pkg="move_base" type="move_base" respawn="false" name="move_base" output="screen">
<param name="base_global_planner" value="$(arg base_global_planner)"/>
<param name="base_local_planner" value="$(arg base_local_planner)"/>
<rosparam file="$(find husky_navigation)/config/planner.yaml" command="load"/>
<!-- observation sources located in costmap_common.yaml -->
<rosparam file="$(find husky_navigation)/config/costmap_common.yaml" command="load" ns="global_costmap" />
<rosparam file="$(find husky_navigation)/config/costmap_common.yaml" command="load" ns="local_costmap" />
<!-- local costmap, needs size -->
<rosparam file="$(find husky_navigation)/config/costmap_local.yaml" command="load" ns="local_costmap" />
<param name="local_costmap/width" value="10.0"/>
<param name="local_costmap/height" value="10.0"/>
<!-- static global costmap, static map provides size -->
<rosparam file="$(find husky_navigation)/config/costmap_global_static.yaml" command="load" ns="global_costmap" unless="$(arg no_static_map)"/>
<!-- global costmap with laser, for odom_navigation_demo -->
<rosparam file="$(find husky_navigation)/config/costmap_global_laser.yaml" command="load" ns="global_costmap" if="$(arg no_static_map)"/>
<param name="global_costmap/width" value="100.0" if="$(arg no_static_map)"/>
<param name="global_costmap/height" value="100.0" if="$(arg no_static_map)"/>
</node>
</launch>