20 namespace mapping_3d {
22 proto::OptimizingLocalTrajectoryBuilderOptions
25 proto::OptimizingLocalTrajectoryBuilderOptions options;
26 options.set_high_resolution_grid_weight(
27 parameter_dictionary->
GetDouble(
"high_resolution_grid_weight"));
28 options.set_low_resolution_grid_weight(
29 parameter_dictionary->
GetDouble(
"low_resolution_grid_weight"));
30 options.set_velocity_weight(
31 parameter_dictionary->
GetDouble(
"velocity_weight"));
32 options.set_translation_weight(
33 parameter_dictionary->
GetDouble(
"translation_weight"));
34 options.set_rotation_weight(
35 parameter_dictionary->
GetDouble(
"rotation_weight"));
36 options.set_odometry_translation_weight(
37 parameter_dictionary->
GetDouble(
"odometry_translation_weight"));
38 options.set_odometry_rotation_weight(
39 parameter_dictionary->
GetDouble(
"odometry_rotation_weight"));
double GetDouble(const string &key)
proto::OptimizingLocalTrajectoryBuilderOptions CreateOptimizingLocalTrajectoryBuilderOptions(common::LuaParameterDictionary *const parameter_dictionary)