mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-03 16:27:46 +08:00
Update demo_turtlebot_mapping.launch
backward compatibility with 0.8.3 (hydro binaries)
This commit is contained in:
@@ -25,6 +25,7 @@
|
|||||||
<arg name="localization" default="false"/>
|
<arg name="localization" default="false"/>
|
||||||
<arg name="rgbd_odometry" default="false"/>
|
<arg name="rgbd_odometry" default="false"/>
|
||||||
<arg name="args" default=""/>
|
<arg name="args" default=""/>
|
||||||
|
<arg name="version083" default="false"/>
|
||||||
|
|
||||||
<!-- Navigation stuff (move_base) -->
|
<!-- Navigation stuff (move_base) -->
|
||||||
<include file="$(find turtlebot_bringup)/launch/3dsensor.launch"/>
|
<include file="$(find turtlebot_bringup)/launch/3dsensor.launch"/>
|
||||||
@@ -48,8 +49,8 @@
|
|||||||
<remap from="rgb/camera_info" to="/camera/rgb/camera_info"/>
|
<remap from="rgb/camera_info" to="/camera/rgb/camera_info"/>
|
||||||
|
|
||||||
<!-- output -->
|
<!-- output -->
|
||||||
<remap from="grid_map" to="/map"/>
|
<remap unless="$(arg version083)" from="grid_map" to="/map"/>
|
||||||
<!-- <remap from="proj_map" to="/map"/> -->
|
<!-- <remap unless="$(arg version083)" from="proj_map" to="/map"/> -->
|
||||||
|
|
||||||
<!-- RTAB-Map's parameters: do "rosrun rtabmap rtabmap (double-dash)params" to see the list of available parameters. -->
|
<!-- RTAB-Map's parameters: do "rosrun rtabmap rtabmap (double-dash)params" to see the list of available parameters. -->
|
||||||
<param name="RGBD/LocalLoopDetectionSpace" type="string" value="true"/> <!-- Local loop closure detection (using estimated position) with locations in WM -->
|
<param name="RGBD/LocalLoopDetectionSpace" type="string" value="true"/> <!-- Local loop closure detection (using estimated position) with locations in WM -->
|
||||||
@@ -80,5 +81,10 @@
|
|||||||
<remap from="rgb/camera_info" to="/camera/rgb/camera_info"/>
|
<remap from="rgb/camera_info" to="/camera/rgb/camera_info"/>
|
||||||
</node>
|
</node>
|
||||||
|
|
||||||
|
<!-- backward compatibility with hydro 0.8.3 only -->
|
||||||
|
<node if="$(arg version083)" pkg="rtabmap_ros" type="grid_map_assembler" name="grid_map_assembler">
|
||||||
|
<remap from="grid_map" to="/map"/>
|
||||||
|
</node>
|
||||||
|
|
||||||
</group>
|
</group>
|
||||||
</launch>
|
</launch>
|
||||||
|
|||||||
Reference in New Issue
Block a user