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.,
|
|
|
|
min_score = 0.55,
|
|
|
|
global_localization_min_score = 0.6,
|
2017-05-31 17:56:32 +08:00
|
|
|
loop_closure_translation_weight = 1.1e4,
|
|
|
|
loop_closure_rotation_weight = 1e5,
|
2016-11-23 19:37:55 +08:00
|
|
|
log_matches = true,
|
2016-08-02 15:07:31 +08:00
|
|
|
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-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,
|
2017-08-23 23:48:49 +08:00
|
|
|
min_low_resolution_score = 0.55,
|
2017-06-30 15:30:09 +08:00
|
|
|
linear_xy_search_window = 5.,
|
2016-08-02 15:07:31 +08:00
|
|
|
linear_z_search_window = 1.,
|
|
|
|
angular_search_window = math.rad(15.),
|
|
|
|
},
|
|
|
|
ceres_scan_matcher_3d = {
|
2017-06-30 15:30:09 +08:00
|
|
|
occupied_space_weight_0 = 5.,
|
|
|
|
occupied_space_weight_1 = 30.,
|
2016-10-28 22:39:45 +08:00
|
|
|
translation_weight = 10.,
|
|
|
|
rotation_weight = 1.,
|
2016-08-02 15:07:31 +08:00
|
|
|
only_optimize_yaw = false,
|
|
|
|
ceres_solver_options = {
|
|
|
|
use_nonmonotonic_steps = false,
|
|
|
|
max_num_iterations = 10,
|
|
|
|
num_threads = 1,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2017-05-31 17:56:32 +08:00
|
|
|
matcher_translation_weight = 5e2,
|
|
|
|
matcher_rotation_weight = 1.6e3,
|
2016-08-02 15:07:31 +08:00
|
|
|
optimization_problem = {
|
2016-09-23 20:27:19 +08:00
|
|
|
huber_scale = 1e1,
|
2017-06-01 21:04:07 +08:00
|
|
|
acceleration_weight = 1e3,
|
|
|
|
rotation_weight = 3e5,
|
2016-09-22 17:35:47 +08:00
|
|
|
consecutive_scan_translation_penalty_factor = 1e5,
|
|
|
|
consecutive_scan_rotation_penalty_factor = 1e5,
|
2017-08-24 21:40:48 +08:00
|
|
|
fixed_frame_pose_translation_weight = 1e1,
|
|
|
|
fixed_frame_pose_rotation_weight = 1e2,
|
2016-08-02 15:07:31 +08:00
|
|
|
log_solver_summary = 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,
|
2017-08-25 17:39:56 +08:00
|
|
|
log_residual_histograms = true,
|
2016-08-02 15:07:31 +08:00
|
|
|
}
|