mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-03 16:27:46 +08:00
Updated demo_stereo_outdoor.launch (removed map_optimizer, updated parameters)
This commit is contained in:
@@ -43,19 +43,21 @@
|
||||
<remap from="right/image_rect" to="/stereo_camera/right/image_rect"/>
|
||||
<remap from="left/camera_info" to="/stereo_camera/left/camera_info_throttle"/>
|
||||
<remap from="right/camera_info" to="/stereo_camera/right/camera_info_throttle"/>
|
||||
<remap from="odom" to="/odometry"/>
|
||||
<remap from="odom" to="/stereo_odometry"/>
|
||||
|
||||
<param name="frame_id" type="string" value="base_footprint"/>
|
||||
<param name="odom_frame_id" type="string" value="odom"/>
|
||||
|
||||
<param name="Odom/InlierDistance" type="string" value="0.1"/>
|
||||
<param name="Odom/Strategy" type="string" value="0"/> <!-- 0=BOW, 1=OpticalFlow -->
|
||||
<param name="Odom/EstimationType" type="string" value="1"/> <!-- 3D->2D (PnP) -->
|
||||
<param name="Odom/MinInliers" type="string" value="10"/>
|
||||
<param name="Odom/RoiRatios" type="string" value="0.03 0.03 0.04 0.04"/>
|
||||
<param name="Odom/MaxDepth" type="string" value="10"/>
|
||||
<param name="OdomBow/NNDR" type="string" value="0.8"/>
|
||||
<param name="GFTT/MaxCorners" type="string" value="500"/>
|
||||
<param name="GFTT/MinDistance" type="string" value="5"/>
|
||||
<param name="Odom/MaxFeatures" type="string" value="1000"/>
|
||||
<param name="Odom/FillInfoData" type="string" value="$(arg rtabmapviz)"/>
|
||||
<param name="GFTT/MinDistance" type="string" value="10"/>
|
||||
<param name="GFTT/QualityLevel" type="string" value="0.00001"/>
|
||||
</node>
|
||||
|
||||
<group ns="rtabmap">
|
||||
@@ -70,7 +72,7 @@
|
||||
<remap from="left/camera_info" to="/stereo_camera/left/camera_info_throttle"/>
|
||||
<remap from="right/camera_info" to="/stereo_camera/right/camera_info_throttle"/>
|
||||
|
||||
<remap from="odom" to="/odometry"/>
|
||||
<remap from="odom" to="/stereo_odometry"/>
|
||||
|
||||
<param name="queue_size" type="int" value="30"/>
|
||||
|
||||
@@ -81,28 +83,16 @@
|
||||
<param name="Kp/WordsPerImage" type="string" value="200"/>
|
||||
<param name="Kp/RoiRatios" type="string" value="0.03 0.03 0.04 0.04"/>
|
||||
<param name="Kp/DetectorStrategy" type="string" value="0"/> <!-- use SURF -->
|
||||
<param name="Kp/NNStrategy" type="string" value="1"/> <!-- kdTree -->
|
||||
<param name="Kp/NNStrategy" type="string" value="1"/> <!-- kdTree -->
|
||||
|
||||
<param name="SURF/HessianThreshold" type="string" value="1000"/>
|
||||
|
||||
<param name="LccBow/MaxDepth" type="string" value="5"/>
|
||||
<param name="LccBow/MinInliers" type="string" value="10"/>
|
||||
<param name="LccBow/InlierDistance" type="string" value="0.02"/>
|
||||
<param name="LccBow/EstimationType" type="string" value="1"/> <!-- 3D->2D (PnP) -->
|
||||
|
||||
<param name="LccReextract/Activated" type="string" value="true"/>
|
||||
<param name="LccReextract/MaxWords" type="string" value="500"/>
|
||||
|
||||
<!-- Disable graph optimization because we use map_optimizer node below -->
|
||||
<param name="RGBD/ToroIterations" type="string" value="0"/>
|
||||
</node>
|
||||
|
||||
<!-- Optimizing outside rtabmap node makes it able to optimize always the global map -->
|
||||
<node pkg="rtabmap_ros" type="map_optimizer" name="map_optimizer"/>
|
||||
|
||||
<node if="$(arg rviz)" pkg="rtabmap_ros" type="map_assembler" name="map_assembler">
|
||||
<param name="occupancy_grid" type="bool" value="true"/>
|
||||
<remap from="mapData" to="mapData_optimized"/>
|
||||
<remap from="grid_projection_map" to="/map"/>
|
||||
<param name="LccReextract/MaxDepth" type="string" value="10"/>
|
||||
</node>
|
||||
|
||||
<!-- Visualisation RTAB-Map -->
|
||||
@@ -116,8 +106,8 @@
|
||||
<remap from="left/camera_info" to="/stereo_camera/left/camera_info_throttle"/>
|
||||
<remap from="right/camera_info" to="/stereo_camera/right/camera_info_throttle"/>
|
||||
<remap from="odom_info" to="/odom_info"/>
|
||||
<remap from="odom" to="/odometry"/>
|
||||
<remap from="mapData" to="mapData_optimized"/>
|
||||
<remap from="odom" to="/stereo_odometry"/>
|
||||
<remap from="mapData" to="mapData"/>
|
||||
</node>
|
||||
|
||||
</group>
|
||||
|
||||
Reference in New Issue
Block a user