-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmove_base.launch
25 lines (21 loc) · 1.35 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
<launch>
<!-- Arguments -->
<arg name="cmd_vel_topic" default="/nav_vel" />
<arg name="odom_topic" default="odom" />
<arg name="move_forward_only" default="false"/>
<!-- move_base -->
<node pkg="move_base" type="move_base" respawn="false" name="move_base" output="screen">
<param name="base_local_planner" value="dwa_local_planner/DWAPlannerROS" />
<param name="base_global_planner" value="global_planner/GlobalPlanner" />
<rosparam file="$(find scuttle_navigation)/param/costmap_common_params.yaml" command="load" ns="global_costmap" />
<rosparam file="$(find scuttle_navigation)/param/costmap_common_params.yaml" command="load" ns="local_costmap" />
<rosparam file="$(find scuttle_navigation)/param/local_costmap_params.yaml" command="load" />
<rosparam file="$(find scuttle_navigation)/param/global_costmap_params.yaml" command="load" />
<rosparam file="$(find scuttle_navigation)/param/move_base_params.yaml" command="load" />
<rosparam file="$(find scuttle_navigation)/param/dwa_local_planner_params.yaml" command="load" />
<rosparam file="$(find scuttle_navigation)/param/global_planner_params.yaml" command="load" />
<remap from="cmd_vel" to="$(arg cmd_vel_topic)"/>
<remap from="odom" to="$(arg odom_topic)"/>
<param name="DWAPlannerROS/min_vel_x" value="0.0" if="$(arg move_forward_only)" />
</node>
</launch>