Read missing option fix_z_in_3d in OptimizationProblemOptions. (#1440)

master
Kevin Daun 2018-10-10 11:33:22 +02:00 committed by Alexander Belyaev
parent 5e11365749
commit de4886ea4e
4 changed files with 4 additions and 0 deletions

View File

@ -144,6 +144,7 @@ class PoseGraph2DTest : public ::testing::Test {
fixed_frame_pose_rotation_weight = 1e2,
log_solver_summary = true,
use_online_imu_extrinsics_in_3d = true,
fix_z_in_3d = false,
ceres_solver_options = {
use_nonmonotonic_steps = false,
max_num_iterations = 200,

View File

@ -50,6 +50,7 @@ class OptimizationProblem3DTest : public ::testing::Test {
fixed_frame_pose_rotation_weight = 1e2,
log_solver_summary = true,
use_online_imu_extrinsics_in_3d = true,
fix_z_in_3d = false,
ceres_solver_options = {
use_nonmonotonic_steps = false,
max_num_iterations = 200,

View File

@ -46,6 +46,7 @@ proto::OptimizationProblemOptions CreateOptimizationProblemOptions(
parameter_dictionary->GetBool("log_solver_summary"));
options.set_use_online_imu_extrinsics_in_3d(
parameter_dictionary->GetBool("use_online_imu_extrinsics_in_3d"));
options.set_fix_z_in_3d(parameter_dictionary->GetBool("fix_z_in_3d"));
*options.mutable_ceres_solver_options() =
common::CreateCeresSolverOptionsProto(
parameter_dictionary->GetDictionary("ceres_solver_options").get());

View File

@ -73,6 +73,7 @@ POSE_GRAPH = {
fixed_frame_pose_rotation_weight = 1e2,
log_solver_summary = false,
use_online_imu_extrinsics_in_3d = true,
fix_z_in_3d = false,
ceres_solver_options = {
use_nonmonotonic_steps = false,
max_num_iterations = 50,