23 #include "glog/logging.h" 29 lua_parameter_dictionary) {
32 ::cartographer::mapping::CreateMapBuilderOptions(
33 lua_parameter_dictionary->
GetDictionary(
"map_builder").get());
36 lua_parameter_dictionary->
GetDouble(
"lookup_transform_timeout_sec");
38 lua_parameter_dictionary->
GetDouble(
"submap_publish_period_sec");
40 lua_parameter_dictionary->
GetDouble(
"pose_publish_period_sec");
42 lua_parameter_dictionary->
GetDouble(
"trajectory_publish_period_sec");
47 const std::string& configuration_directory,
48 const std::string& configuration_basename) {
51 std::vector<std::string>{configuration_directory});
52 const std::string code =
55 code, std::move(file_resolver));
::cartographer::mapping::proto::MapBuilderOptions map_builder_options
std::string GetString(const std::string &key)
_Unique_if< T >::_Single_object make_unique(Args &&... args)
double GetDouble(const std::string &key)
std::tuple< NodeOptions, TrajectoryOptions > LoadOptions(const std::string &configuration_directory, const std::string &configuration_basename)
NodeOptions CreateNodeOptions(::cartographer::common::LuaParameterDictionary *const lua_parameter_dictionary)
std::string GetFileContentOrDie(const std::string &basename) override
double trajectory_publish_period_sec
TrajectoryOptions CreateTrajectoryOptions(::cartographer::common::LuaParameterDictionary *const lua_parameter_dictionary)
double pose_publish_period_sec
std::unique_ptr< LuaParameterDictionary > GetDictionary(const std::string &key)
double lookup_transform_timeout_sec
double submap_publish_period_sec