19 #include "glog/logging.h" 25 lua_parameter_dictionary) {
28 ::cartographer::mapping::CreateTrajectoryBuilderOptions(
29 lua_parameter_dictionary->
GetDictionary(
"trajectory_builder").get());
31 lua_parameter_dictionary->
GetString(
"tracking_frame");
33 lua_parameter_dictionary->
GetString(
"published_frame");
36 lua_parameter_dictionary->
GetBool(
"provide_odom_frame");
40 lua_parameter_dictionary->
GetBool(
"use_multi_echo_laser_scan");
47 <<
"Configuration error: 'use_laser_scan', " 48 "'use_multi_echo_laser_scan' and 'num_point_clouds' are " 49 "mutually exclusive, but one is required.";
bool GetBool(const string &key)
int GetNonNegativeInt(const string &key)
bool use_multi_echo_laser_scan
::cartographer::mapping::proto::TrajectoryBuilderOptions trajectory_builder_options
TrajectoryOptions CreateTrajectoryOptions(::cartographer::common::LuaParameterDictionary *const lua_parameter_dictionary)
string GetString(const string &key)
std::unique_ptr< LuaParameterDictionary > GetDictionary(const string &key)