Update demo_turtlebot_mapping.launch

backward compatibility with 0.8.3 (hydro binaries)
This commit is contained in:
matlabbe
2015-06-03 11:41:59 -04:00
parent 2568ff30c2
commit c52c326655
+8 -2
View File
@@ -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>