Robotics StackExchange | Archived questions

hector_slam tutorials problem

I followed the tutorial on http://wiki.ros.org/hector_slam/Tutorials/MappingUsingLoggedData. but the map in rviz is just a mess.

I thought it might be a problem of tf, but I don't know how to set the parameters in launch file.

The parameters in tutorial http://wiki.ros.org/hector_slam/Tutorials/SettingUpForYourRobot doesn't work. thanks for help!

the parameters in mapping_default.launch is shown below: <?xml version="1.0"?>

<!-- Frame names -->
<param name="map_frame" value="map" />
<param name="base_frame" value="base_link" />
<param name="odom_frame" value="base_link"/>

<!-- Tf use -->
<param name="use_tf_scan_transformation" value="true"/>
<param name="use_tf_pose_start_estimate" value="false"/>
<param name="pub_map_odom_transform" value="$(arg pub_map_odom_transform)"/>

<!-- Map size / start point -->
<param name="map_resolution" value="0.050"/>
<param name="map_size" value="$(arg map_size)"/>
<param name="map_start_x" value="0.5"/>
<param name="map_start_y" value="0.5" />
<param name="map_multi_res_levels" value="2" />

<!-- Map update parameters -->
<param name="update_factor_free" value="0.4"/>
<param name="update_factor_occupied" value="0.9" />    
<param name="map_update_distance_thresh" value="0.4"/>
<param name="map_update_angle_thresh" value="0.06" />
<param name="laser_z_min_value" value = "-1.0" />
<param name="laser_z_max_value" value = "1.0" />

<!-- Advertising config --> 
<param name="advertise_map_service" value="true"/>

<param name="scan_subscriber_queue_size" value="$(arg scan_subscriber_queue_size)"/>
<param name="scan_topic" value="$(arg scan_topic)"/>

<!-- Debug parameters -->

  <param name="output_timing" value="false"/>
  <param name="pub_drawings" value="true"/>
  <param name="pub_debug_output" value="true"/>

<param name="tf_map_scanmatch_transform_frame_name" value="$(arg tf_map_scanmatch_transform_frame_name)" />

Asked by carto_zed on 2016-05-12 03:38:12 UTC

Comments

Answers

this question is similar to link text

Asked by Shilpan on 2017-03-14 01:44:14 UTC

Comments