Skip to content

Commit

Permalink
add move_base with hector and karto slam
Browse files Browse the repository at this point in the history
  • Loading branch information
k-okada committed Mar 16, 2018
1 parent 1ec7d49 commit 9c0729e
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
19 changes: 19 additions & 0 deletions navigation_stage/launch/move_base_hector_5cm.launch
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<launch>
<master auto="start"/>
<param name="/use_sim_time" value="true"/>
<include file="$(find navigation_stage)/move_base_config/move_base.xml"/>
<node pkg="stage_ros" type="stageros" name="stageros" args="$(find navigation_stage)/stage_config/worlds/willow-pr2-5cm.world" respawn="false" >
<param name="base_watchdog_timeout" value="0.2"/>
</node>

<node name="hector_mapping" pkg="hector_mapping"
type="hector_mapping">
<remap from="scan" to="base_scan" />
<param name="pub_map_odom_transform" value="true"/>
<param name="map_frame" value="map" />
<param name="base_frame" value="base_link" />
<param name="odom_frame" value="odom" />
</node>

<node name="rviz" pkg="rviz" type="rviz" args="-d $(find navigation_stage)/single_robot.rviz" />
</launch>
14 changes: 14 additions & 0 deletions navigation_stage/launch/move_base_karto_5cm.launch
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<launch>
<master auto="start"/>
<param name="/use_sim_time" value="true"/>
<include file="$(find navigation_stage)/move_base_config/move_base.xml"/>
<node pkg="stage_ros" type="stageros" name="stageros" args="$(find navigation_stage)/stage_config/worlds/willow-pr2-5cm.world" respawn="false" >
<param name="base_watchdog_timeout" value="0.2"/>
</node>

<node name="slam_karto" pkg="slam_karto" type="slam_karto">
<remap from="scan" to="base_scan" />
</node>

<node name="rviz" pkg="rviz" type="rviz" args="-d $(find navigation_stage)/single_robot.rviz" />
</launch>

0 comments on commit 9c0729e

Please sign in to comment.