Skip to content

Instantly share code, notes, and snippets.

@awesomebytes
Last active March 13, 2020 02:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save awesomebytes/73e2d5e3e7bcb0457d24 to your computer and use it in GitHub Desktop.
Save awesomebytes/73e2d5e3e7bcb0457d24 to your computer and use it in GitHub Desktop.
<!--
Example launch file: launches the scan matcher with pre-recorded data
-->
<launch>
<node pkg="rviz" type="rviz" name="rviz"
args="-d $(find laser_scan_matcher)/demo/demo.rviz"/>
<!-- params from http://wiki.ros.org/laser_scan_matcher?distro=fuerte -->
<node pkg="laser_scan_matcher" type="laser_scan_matcher_node"
name="laser_scan_matcher_node" output="screen">
<!-- Topics -->
<remap from="scan" to="scan"/>
<remap from="cloud" to="/camera/depth/points"/>
<remap from="imu/data" to="imu/data_compass"/>
<remap from="odom" to="odom"/>
<remap from="vel" to="/mobile_base_controller/cmd_vel" />
<!-- Coordinate frames -->
<param name="fixed_frame" value="world" />
<param name="base_frame" value="base_link" />
<!-- Motion prediction -->
<param name="use_imu" value="true"/>
<param name="use_odom" value="false"/>
<param name="use_vel" value="true"/>
<!-- Point cloud input -->
<param name="use_cloud_input" value="false"/>
<param name="cloud_range_min" value="0.4"/>
<param name="cloud_range_max" value="10.0"/>
<!-- Key frames -->
<param name="kf_dist_linear" value="0.1"/>
<param name="kf_dist_angular" value="0.175"/>
<!-- Output -->
<param name="publish_tf" value="true"/>
<param name="publish_pose" value="true"/>
<param name="publish_pose_stamped" value="false"/>
<!-- Scan matching -->
<param name="max_iterations" value="50"/>
<param name="max_correspondence_dist" value="0.3"/>
<param name="max_angular_correction_deg" value="45.0"/>
<param name="max_linear_correction" value="0.5"/>
<param name="epsilon_xy" value="0.000001"/>
<param name="epsilon_theta" value="0.000001"/>
<param name="outliers_maxPerc" value="0.90"/>
</node>
</launch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment