Skip to content

Commit 2fb934e

Browse files
committed
add navigation launch file for real robot
1 parent 8ddf298 commit 2fb934e

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<launch>
2+
<!-- Arguments -->
3+
<arg name="map_file" default="$(find diffbot_navigation)/maps/office.yaml"/>
4+
<arg name="open_rviz" default="true"/>
5+
<arg name="rvizconfig" default="$(find diffbot_navigation)/rviz/diffbot_navigation.rviz" />
6+
<arg name="move_forward_only" default="false"/>
7+
<arg name="local_planner" default="dwa" doc="Local planner can be either dwa, base, teb or pose"/>
8+
9+
<!-- DiffBot Remote Steering TODO -->
10+
<!--include file="$(find diffbot_bringup)/launch/diffbot_remote.launch">
11+
<arg name="model" value="$(arg model)" />
12+
</include-->
13+
14+
15+
<!-- Map server -->
16+
<node pkg="map_server" name="map_server" type="map_server" args="$(arg map_file)"/>
17+
18+
<!-- AMCL -->
19+
<include file="$(find diffbot_navigation)/launch/amcl.launch"/>
20+
21+
<!-- move_base -->
22+
<include file="$(find diffbot_navigation)/launch/move_base.launch">
23+
<arg name="local_planner" value="$(arg local_planner)" />
24+
<arg name="move_forward_only" value="$(arg move_forward_only)"/>
25+
</include>
26+
27+
<!-- Launch visualization in rviz -->
28+
<group if="$(arg open_rviz)">
29+
<node pkg="rviz" type="rviz" name="rviz" required="true"
30+
args="-d $(arg rvizconfig)"/>
31+
</group>
32+
33+
</launch>

0 commit comments

Comments
 (0)