Read missing option fix_z_in_3d in OptimizationProblemOptions. (#1440)
parent
5e11365749
commit
de4886ea4e
|
@ -144,6 +144,7 @@ class PoseGraph2DTest : public ::testing::Test {
|
||||||
fixed_frame_pose_rotation_weight = 1e2,
|
fixed_frame_pose_rotation_weight = 1e2,
|
||||||
log_solver_summary = true,
|
log_solver_summary = true,
|
||||||
use_online_imu_extrinsics_in_3d = true,
|
use_online_imu_extrinsics_in_3d = true,
|
||||||
|
fix_z_in_3d = false,
|
||||||
ceres_solver_options = {
|
ceres_solver_options = {
|
||||||
use_nonmonotonic_steps = false,
|
use_nonmonotonic_steps = false,
|
||||||
max_num_iterations = 200,
|
max_num_iterations = 200,
|
||||||
|
|
|
@ -50,6 +50,7 @@ class OptimizationProblem3DTest : public ::testing::Test {
|
||||||
fixed_frame_pose_rotation_weight = 1e2,
|
fixed_frame_pose_rotation_weight = 1e2,
|
||||||
log_solver_summary = true,
|
log_solver_summary = true,
|
||||||
use_online_imu_extrinsics_in_3d = true,
|
use_online_imu_extrinsics_in_3d = true,
|
||||||
|
fix_z_in_3d = false,
|
||||||
ceres_solver_options = {
|
ceres_solver_options = {
|
||||||
use_nonmonotonic_steps = false,
|
use_nonmonotonic_steps = false,
|
||||||
max_num_iterations = 200,
|
max_num_iterations = 200,
|
||||||
|
|
|
@ -46,6 +46,7 @@ proto::OptimizationProblemOptions CreateOptimizationProblemOptions(
|
||||||
parameter_dictionary->GetBool("log_solver_summary"));
|
parameter_dictionary->GetBool("log_solver_summary"));
|
||||||
options.set_use_online_imu_extrinsics_in_3d(
|
options.set_use_online_imu_extrinsics_in_3d(
|
||||||
parameter_dictionary->GetBool("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() =
|
*options.mutable_ceres_solver_options() =
|
||||||
common::CreateCeresSolverOptionsProto(
|
common::CreateCeresSolverOptionsProto(
|
||||||
parameter_dictionary->GetDictionary("ceres_solver_options").get());
|
parameter_dictionary->GetDictionary("ceres_solver_options").get());
|
||||||
|
|
|
@ -73,6 +73,7 @@ POSE_GRAPH = {
|
||||||
fixed_frame_pose_rotation_weight = 1e2,
|
fixed_frame_pose_rotation_weight = 1e2,
|
||||||
log_solver_summary = false,
|
log_solver_summary = false,
|
||||||
use_online_imu_extrinsics_in_3d = true,
|
use_online_imu_extrinsics_in_3d = true,
|
||||||
|
fix_z_in_3d = false,
|
||||||
ceres_solver_options = {
|
ceres_solver_options = {
|
||||||
use_nonmonotonic_steps = false,
|
use_nonmonotonic_steps = false,
|
||||||
max_num_iterations = 50,
|
max_num_iterations = 50,
|
||||||
|
|
Loading…
Reference in New Issue