2013-12-11 00:12:44 +00:00
<launch>
<!-- ROBOT MAPPING VERSION: use this with ROS bag demo_mapping.bag -->
<!-- WARNING : Database is automatically deleted on each startup -->
<!-- See "delete_db_on_start" option below... -->
<param name= "use_sim_time" type= "bool" value= "True" />
<!-- SLAM (robot side) -->
<!-- args: "delete_db_on_start" and "udebug" -->
2014-11-25 17:43:26 -05:00
<node name= "rtabmap" pkg= "rtabmap_ros" type= "rtabmap" output= "screen" args= "--delete_db_on_start --uinfo" >
2013-12-11 00:12:44 +00:00
<param name= "frame_id" type= "string" value= "base_footprint" />
<param name= "subscribe_depth" type= "bool" value= "true" />
<param name= "subscribe_laserScan" type= "bool" value= "true" />
<remap from= "odom" to= "/az3/base_controller/odom" />
<remap from= "scan" to= "/jn0/base_scan" />
<remap from= "rgb/image" to= "data_throttled_image" />
<remap from= "depth/image" to= "data_throttled_image_depth" />
<remap from= "rgb/camera_info" to= "data_throttled_camera_info" />
<param name= "rgb/image_transport" type= "string" value= "compressed" />
<param name= "depth/image_transport" type= "string" value= "compressedDepth" />
<param name= "queue_size" type= "int" value= "10" />
<!-- RTAB-Map's parameters: do "rosrun rtabmap rtabmap (double-dash)params" to see the list of available parameters. -->
2014-11-19 23:41:11 +00:00
<param name= "RGBD/PoseScanMatching" type= "string" value= "true" /> <!-- Do odometry correction with consecutive laser scans -->
2014-01-22 20:24:29 +00:00
<param name= "RGBD/LocalLoopDetectionSpace" type= "string" value= "true" /> <!-- Local loop closure detection (using estimated position) with locations in WM -->
2014-11-19 23:41:11 +00:00
<param name= "RGBD/LocalLoopDetectionTime" type= "string" value= "false" /> <!-- Local loop closure detection with locations in STM -->
2014-10-13 19:14:30 +00:00
<param name= "RGBD/OptimizeFromGraphEnd" type= "string" value= "true" />
2014-01-22 20:24:29 +00:00
<param name= "LccIcp/Type" type= "string" value= "2" /> <!-- 0=No ICP, 1=ICP 3D, 2=ICP 2D -->
<param name= "LccBow/MaxDepth" type= "string" value= "0.0" /> <!-- 3D visual words maximum depth 0=infinity -->
<param name= "LccBow/InlierDistance" type= "string" value= "0.1" /> <!-- 3D visual words correspondence distance -->
2014-12-01 14:29:42 -05:00
<param name= "Kp/DetectorStrategy" type= "string" value= "0" /> <!-- use SURF -->
<param name= "Kp/NNStrategy" type= "string" value= "1" /> <!-- kdTree -->
2013-12-11 00:12:44 +00:00
</node>
2014-11-14 15:49:36 +00:00
2013-12-11 00:12:44 +00:00
<!-- Visualisation (client side) -->
2014-11-25 17:43:26 -05:00
<node pkg= "rtabmap_ros" type= "rtabmapviz" name= "rtabmapviz" args= "-d $(find rtabmap_ros)/launch/config/rgbd_gui.ini" output= "screen" >
2013-12-11 00:12:44 +00:00
<param name= "subscribe_depth" type= "bool" value= "true" />
<param name= "subscribe_laserScan" type= "bool" value= "true" />
<param name= "queue_size" type= "int" value= "10" />
<param name= "frame_id" type= "string" value= "base_footprint" />
<remap from= "rgb/image" to= "data_throttled_image" />
<remap from= "depth/image" to= "data_throttled_image_depth" />
<remap from= "rgb/camera_info" to= "data_throttled_camera_info" />
<remap from= "scan" to= "/jn0/base_scan" />
<remap from= "odom" to= "/az3/base_controller/odom" />
<param name= "rgb/image_transport" type= "string" value= "compressed" />
<param name= "depth/image_transport" type= "string" value= "compressedDepth" />
</node>
</launch>