2016-08-02 15:07:31 +08:00
|
|
|
-- Copyright 2016 The Cartographer Authors
|
|
|
|
--
|
|
|
|
-- Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
-- you may not use this file except in compliance with the License.
|
|
|
|
-- You may obtain a copy of the License at
|
|
|
|
--
|
|
|
|
-- http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
--
|
|
|
|
-- Unless required by applicable law or agreed to in writing, software
|
|
|
|
-- distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
-- See the License for the specific language governing permissions and
|
|
|
|
-- limitations under the License.
|
|
|
|
|
|
|
|
SPARSE_POSE_GRAPH = {
|
2016-09-08 20:36:33 +08:00
|
|
|
optimize_every_n_scans = 90,
|
2016-08-02 15:07:31 +08:00
|
|
|
constraint_builder = {
|
|
|
|
sampling_ratio = 0.3,
|
|
|
|
max_constraint_distance = 15.,
|
|
|
|
adaptive_voxel_filter = {
|
|
|
|
max_length = 0.9,
|
|
|
|
min_num_points = 100,
|
|
|
|
max_range = 50.,
|
|
|
|
},
|
|
|
|
min_score = 0.55,
|
|
|
|
global_localization_min_score = 0.6,
|
|
|
|
lower_covariance_eigenvalue_bound = 1e-11,
|
|
|
|
log_matches = false,
|
|
|
|
fast_correlative_scan_matcher = {
|
|
|
|
linear_search_window = 7.,
|
|
|
|
angular_search_window = math.rad(30.),
|
|
|
|
branch_and_bound_depth = 7,
|
|
|
|
},
|
|
|
|
ceres_scan_matcher = {
|
2016-10-28 22:39:45 +08:00
|
|
|
occupied_space_weight = 20.,
|
|
|
|
translation_weight = 10.,
|
|
|
|
rotation_weight = 1.,
|
2016-09-23 20:27:19 +08:00
|
|
|
covariance_scale = 1e-4,
|
2016-08-02 15:07:31 +08:00
|
|
|
ceres_solver_options = {
|
|
|
|
use_nonmonotonic_steps = true,
|
|
|
|
max_num_iterations = 10,
|
|
|
|
num_threads = 1,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
fast_correlative_scan_matcher_3d = {
|
|
|
|
branch_and_bound_depth = 8,
|
|
|
|
full_resolution_depth = 3,
|
|
|
|
rotational_histogram_size = 120,
|
|
|
|
min_rotational_score = 0.77,
|
|
|
|
linear_xy_search_window = 4.,
|
|
|
|
linear_z_search_window = 1.,
|
|
|
|
angular_search_window = math.rad(15.),
|
|
|
|
},
|
|
|
|
ceres_scan_matcher_3d = {
|
2016-10-28 22:39:45 +08:00
|
|
|
occupied_space_weight_0 = 20.,
|
|
|
|
translation_weight = 10.,
|
|
|
|
rotation_weight = 1.,
|
2016-08-02 15:07:31 +08:00
|
|
|
covariance_scale = 1e-6,
|
|
|
|
only_optimize_yaw = false,
|
|
|
|
ceres_solver_options = {
|
|
|
|
use_nonmonotonic_steps = false,
|
|
|
|
max_num_iterations = 10,
|
|
|
|
num_threads = 1,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
optimization_problem = {
|
2016-09-23 20:27:19 +08:00
|
|
|
huber_scale = 1e1,
|
2016-10-28 22:39:45 +08:00
|
|
|
acceleration_weight = 7e4,
|
|
|
|
rotation_weight = 3e6,
|
2016-09-22 17:35:47 +08:00
|
|
|
consecutive_scan_translation_penalty_factor = 1e5,
|
|
|
|
consecutive_scan_rotation_penalty_factor = 1e5,
|
2016-08-02 15:07:31 +08:00
|
|
|
log_solver_summary = false,
|
|
|
|
log_residual_histograms = false,
|
|
|
|
ceres_solver_options = {
|
|
|
|
use_nonmonotonic_steps = false,
|
|
|
|
max_num_iterations = 50,
|
|
|
|
num_threads = 7,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
max_num_final_iterations = 200,
|
2016-10-27 21:25:57 +08:00
|
|
|
global_sampling_ratio = 0.003,
|
2016-08-02 15:07:31 +08:00
|
|
|
}
|