23 namespace mapping_3d {
25 proto::KalmanLocalTrajectoryBuilderOptions
28 proto::KalmanLocalTrajectoryBuilderOptions options;
29 options.set_use_online_correlative_scan_matching(
30 parameter_dictionary->
GetBool(
"use_online_correlative_scan_matching"));
31 *options.mutable_real_time_correlative_scan_matcher_options() =
34 ->GetDictionary(
"real_time_correlative_scan_matcher")
36 *options.mutable_pose_tracker_options() =
39 options.set_scan_matcher_variance(
40 parameter_dictionary->
GetDouble(
"scan_matcher_variance"));
41 options.set_odometer_translational_variance(
42 parameter_dictionary->
GetDouble(
"odometer_translational_variance"));
43 options.set_odometer_rotational_variance(
44 parameter_dictionary->
GetDouble(
"odometer_rotational_variance"));
bool GetBool(const string &key)
proto::PoseTrackerOptions CreatePoseTrackerOptions(common::LuaParameterDictionary *const parameter_dictionary)
proto::KalmanLocalTrajectoryBuilderOptions CreateKalmanLocalTrajectoryBuilderOptions(common::LuaParameterDictionary *const parameter_dictionary)
double GetDouble(const string &key)
proto::RealTimeCorrelativeScanMatcherOptions CreateRealTimeCorrelativeScanMatcherOptions(common::LuaParameterDictionary *const parameter_dictionary)
std::unique_ptr< LuaParameterDictionary > GetDictionary(const string &key)