mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-04 00:37:46 +08:00
ros-pkg: updated/deleted some stereo related launch files
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/ros-pkg@2001 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
@@ -62,13 +62,13 @@
|
||||
<node pkg="tf" type="static_transform_publisher" name="stereo_camera_base_link"
|
||||
args="$(arg optical_rotate) stereo_camera_base stereo_camera 100" />
|
||||
<node pkg="tf" type="static_transform_publisher" name="base_to_stereo_camera_base_link"
|
||||
args="0.01 0.06 0.90 0 0.45 0 base_link stereo_camera_base 100" />
|
||||
args="0.01 0.06 0.90 0 0.37 0 base_link stereo_camera_base 100" />
|
||||
|
||||
<!-- Run the ROS package stereo_image_proc for image rectification-->
|
||||
<group ns="/stereo_camera" >
|
||||
<node pkg="nodelet" type="nodelet" name="stereo_nodelet" args="manager"/>
|
||||
<!-- HACK: the fps parameter on camera1394stereo_node doesn't work for my camera!?!?
|
||||
Throttle camera images to 5 Hz (), odometry on azimut cannot run over 5Hz -->
|
||||
Throttle camera images -->
|
||||
<node pkg="nodelet" type="nodelet" name="stereo_throttle" args="load rtabmap/stereo_throttle stereo_nodelet">
|
||||
<remap from="left/image" to="left/image_raw"/>
|
||||
<remap from="right/image" to="right/image_raw"/>
|
||||
@@ -76,7 +76,7 @@
|
||||
<remap from="right/camera_info" to="right/camera_info"/>
|
||||
|
||||
<param name="queue_size" type="int" value="10"/>
|
||||
<param name="rate" type="double" value="5"/>
|
||||
<param name="rate" type="double" value="20"/>
|
||||
</node>
|
||||
|
||||
<node pkg="stereo_image_proc" type="stereo_image_proc" name="stereo_image_proc">
|
||||
@@ -109,70 +109,70 @@
|
||||
</group>
|
||||
|
||||
<!-- Visual Odometry -->
|
||||
<node pkg="viso2_ros" type="stereo_odometer" name="stereo_odometer" output="screen">
|
||||
<remap from="stereo" to="/stereo_camera"/>
|
||||
<remap from="image" to="image_rect"/>
|
||||
<remap from="left/camera_info" to="left/camera_info_throttle" />
|
||||
<remap from="right/camera_info" to="right/camera_info_throttle" />
|
||||
|
||||
<param name="base_link_frame_id" value="base_footprint"/>
|
||||
<param name="odom_frame_id" value="odom"/>
|
||||
<param name="ref_frame_change_method" value="1"/>
|
||||
<node pkg="rtabmap" type="stereo_odometry" name="stereo_odometry" output="screen">
|
||||
<remap from="left/image_rect" to="/stereo_camera/left/image_rect"/>
|
||||
<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"/>
|
||||
|
||||
<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/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="GFTT/MaxCorners" type="string" value="500"/>
|
||||
<param name="GFTT/MinDistance" type="string" value="5"/>
|
||||
</node>
|
||||
|
||||
<!-- SLAM (robot side) -->
|
||||
<!-- args: "delete_db_on_start" and "udebug" -->
|
||||
<group ns="rtabmap">
|
||||
<node name="rtabmap" pkg="rtabmap" type="rtabmap" output="screen" args="--delete_db_on_start">
|
||||
<param name="frame_id" type="string" value="base_footprint"/>
|
||||
<param name="subscribe_stereo" type="bool" value="true"/>
|
||||
<param name="subscribe_depth" type="bool" value="false"/>
|
||||
<group ns="rtabmap">
|
||||
<!-- Visual SLAM: args: "delete_db_on_start" and "udebug" -->
|
||||
<node name="rtabmap" pkg="rtabmap" type="rtabmap" output="screen" args="--delete_db_on_start">
|
||||
<param name="frame_id" type="string" value="base_footprint"/>
|
||||
<param name="subscribe_stereo" type="bool" value="true"/>
|
||||
<param name="subscribe_depth" type="bool" value="false"/>
|
||||
|
||||
<remap from="left/image_rect" to="/stereo_camera/left/image_rect_color"/>
|
||||
<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="/stereo_odometer/odometry"/>
|
||||
<remap from="mapData" to="mapData_notOptimized"/>
|
||||
|
||||
<param name="queue_size" type="int" value="30"/>
|
||||
|
||||
<!-- RTAB-Map's parameters -->
|
||||
<param name="Rtabmap/TimeThr" type="string" value="700"/>
|
||||
<param name="Rtabmap/DetectionRate" type="string" value="1"/>
|
||||
<param name="RGBD/ToroIterations" type="string" value="0"/> <!-- Disable graph optimization for map_optimizer node below -->
|
||||
|
||||
<param name="Kp/TfIdfLikelihoodUsed" type="string" value="true"/>
|
||||
<param name="Kp/DetectorStrategy" type="string" value="0"/>
|
||||
<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/NNStrategy" type="string" value="1"/>
|
||||
|
||||
<param name="Bayes/FullPredictionUpdate" type="string" value="false"/>
|
||||
|
||||
<param name="SURF/HessianThreshold" type="string" value="1000"/>
|
||||
|
||||
<param name="LccBow/MaxDepth" type="string" value="3"/>
|
||||
<param name="LccBow/MinInliers" type="string" value="10"/>
|
||||
<param name="LccBow/InlierDistance" type="string" value="0.02"/>
|
||||
|
||||
<param name="LccReextract/Activated" type="string" value="true"/>
|
||||
<param name="LccReextract/FeatureType" type="string" value="4"/>
|
||||
<param name="LccReextract/MaxWords" type="string" value="400"/>
|
||||
<param name="LccReextract/NNDR" type="string" value="0.8"/>
|
||||
<param name="LccReextract/NNType" type="string" value="3"/>
|
||||
</node>
|
||||
<remap from="left/image_rect" to="/stereo_camera/left/image_rect_color"/>
|
||||
<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"/>
|
||||
|
||||
<param name="queue_size" type="int" value="30"/>
|
||||
|
||||
<!-- RTAB-Map's parameters -->
|
||||
<param name="Rtabmap/TimeThr" type="string" value="700"/>
|
||||
<param name="Rtabmap/DetectionRate" type="string" value="1"/>
|
||||
|
||||
<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="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.05"/>
|
||||
|
||||
<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>
|
||||
|
||||
<node pkg="rtabmap" type="map_optimizer" name="map_optimizer">
|
||||
<remap from="mapData" to="mapData_notOptimized"/>
|
||||
<remap from="mapData_notOptimized_optimized" to="mapData"/>
|
||||
</node>
|
||||
<node pkg="rtabmap" type="map_assembler" name="map_assembler">
|
||||
<param name="occupancy_grid" type="bool" value="true"/>
|
||||
<remap from="grid_projection_map" to="/map"/>
|
||||
</node>
|
||||
|
||||
</group>
|
||||
<!-- Optimizing outside rtabmap node makes it able to optimize always the global map -->
|
||||
<node pkg="rtabmap" type="map_optimizer" name="map_optimizer"/>
|
||||
|
||||
<node pkg="rtabmap" 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"/>
|
||||
</node>
|
||||
|
||||
</group>
|
||||
|
||||
</launch>
|
||||
|
||||
Reference in New Issue
Block a user