Track Cartographer API. (#175)
parent
d0343919b3
commit
31d5787544
|
@ -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");
|
||||
|
||||
|
|
|
@ -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);
|
||||
});
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue