Track Cartographer API. (#175)

master
Holger Rapp 2016-11-17 18:28:27 +01:00 committed by GitHub
parent d0343919b3
commit 31d5787544
3 changed files with 3 additions and 3 deletions

View File

@ -107,7 +107,7 @@ void Run(const string& trajectory_filename, const string& bag_filename,
const string code =
file_resolver->GetFileContentOrDie(configuration_basename);
carto::common::LuaParameterDictionary lua_parameter_dictionary(
code, std::move(file_resolver), nullptr);
code, std::move(file_resolver));
const string tracking_frame =
lua_parameter_dictionary.GetString("tracking_frame");

View File

@ -35,7 +35,7 @@ TEST_P(ConfigurationFilesTest, ValidateNodeOptions) {
::ros::package::getPath("cartographer_ros") + "/configuration_files"});
const string code = file_resolver->GetFileContentOrDie(GetParam());
::cartographer::common::LuaParameterDictionary lua_parameter_dictionary(
code, std::move(file_resolver), nullptr);
code, std::move(file_resolver));
::cartographer_ros::CreateNodeOptions(&lua_parameter_dictionary);
});
}

View File

@ -445,7 +445,7 @@ void Run() {
const string code =
file_resolver->GetFileContentOrDie(FLAGS_configuration_basename);
carto::common::LuaParameterDictionary lua_parameter_dictionary(
code, std::move(file_resolver), nullptr);
code, std::move(file_resolver));
Node node(CreateNodeOptions(&lua_parameter_dictionary));
node.Initialize();