|
@@ -1,7 +1,7 @@
|
|
|
<!--
|
|
|
Copyright: 2016-2018 www.corvin.cn
|
|
|
Author: corvin
|
|
|
- Description: In stdr simulator hector mapping.
|
|
|
+ Description: hector mapping.
|
|
|
History:
|
|
|
20180601: initial this file.
|
|
|
-->
|
|
@@ -11,17 +11,16 @@
|
|
|
<arg name="scan_queue_size" default="10"/>
|
|
|
<arg name="base_frame" default="/base_link" />
|
|
|
<arg name="odom_frame" default="/odom" />
|
|
|
+ <arg name="map_frame" default="/map" />
|
|
|
<arg name="scan_topic" default="/scan" />
|
|
|
- <arg name="map_topic" default="/hector_map" />
|
|
|
<arg name="map_size" default="512" />
|
|
|
|
|
|
- <include file="$(find ydlidar)/launch/lidar.launch">
|
|
|
+ <include file="$(find ydlidar)/launch/lidar.launch" />
|
|
|
|
|
|
- <node pkg="hector_mapping" type="hector_mapping" name="stdr_hector_mapping" output="screen">
|
|
|
- <remap from="map" to="$(arg map_topic)" />
|
|
|
+ <node pkg="hector_mapping" type="hector_mapping" name="hector_mapping" output="screen">
|
|
|
|
|
|
<!-- Frame names -->
|
|
|
- <param name="map_frame" value="/map_static" />
|
|
|
+ <param name="map_frame" value="$(arg map_frame)" />
|
|
|
<param name="base_frame" value="$(arg base_frame)" />
|
|
|
<param name="odom_frame" value="$(arg odom_frame)" />
|
|
|
|