cartographer-project / cartographer

Cartographer is a system that provides real-time simultaneous localization and mapping (SLAM) in 2D and 3D across multiple platforms and sensor configurations.
Apache License 2.0
7.18k stars 2.26k forks source link

TSDF fails in deutsch museum rosbag #1518

Open jihoonl opened 5 years ago

jihoonl commented 5 years ago

output

I recently played Deutsch museum rosbag with TSDF submap enabled to see the performance of TSDF compare to probability grid. And I observed this drifting of map. It seems like some pose transformation are applied with wrong time stamp. Am I using inappropriate configuration?

# Added in backpack_2d.lua
TRAJECTORY_BUILDER_2D.submaps.grid_options_2d.grid_type = "TSDF"
TRAJECTORY_BUILDER_2D.submaps.grid_options_2d.resolution = 0.05
TRAJECTORY_BUILDER_2D.submaps.range_data_inserter.range_data_inserter_type = "TSDF_INSERTER_2D"
TRAJECTORY_BUILDER_2D.submaps.range_data_inserter.tsdf_range_data_inserter.truncation_distance = 0.05
TRAJECTORY_BUILDER_2D.submaps.range_data_inserter.tsdf_range_data_inserter.maximum_weight = 10.
kdaun commented 5 years ago

The quality of TSDF results are sensitive to the configuration. See https://github.com/googlecartographer/cartographer_ros/issues/1058 for an example of a working configuration of the Deutsches Museum dataset.

jihoonl commented 5 years ago

Thanks, @kdaun. I got much decent result compare to the video above. Is there any reason that it isn't the default parameter of tsdf range data inserter?

kdaun commented 5 years ago

Is there any reason that it isn't the default parameter of tsdf range data inserter?

This seems reasonable for the parameters not affecting the ProbabilityGrid. Furthermore, it would be useful to add the configuration as a TSDF demo setup to cartographer_ros.