Skip to content

Commit

Permalink
Read missing option fix_z_in_3d in OptimizationProblemOptions. (carto…
Browse files Browse the repository at this point in the history
  • Loading branch information
klwkbin authored and pifon2a committed Oct 10, 2018
1 parent 5e11365 commit de4886e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions cartographer/mapping/internal/2d/pose_graph_2d_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down
1 change: 1 addition & 0 deletions configuration_files/pose_graph.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit de4886e

Please sign in to comment.