From 31d5787544b64b98ee39bcaeac3be2e298a082e3 Mon Sep 17 00:00:00 2001 From: Holger Rapp Date: Thu, 17 Nov 2016 18:28:27 +0100 Subject: [PATCH] Track Cartographer API. (#175) --- cartographer_ros/cartographer_ros/assets_writer_main.cc | 2 +- cartographer_ros/cartographer_ros/configuration_files_test.cc | 2 +- cartographer_ros/cartographer_ros/node_main.cc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cartographer_ros/cartographer_ros/assets_writer_main.cc b/cartographer_ros/cartographer_ros/assets_writer_main.cc index 360e0fd..e711f17 100644 --- a/cartographer_ros/cartographer_ros/assets_writer_main.cc +++ b/cartographer_ros/cartographer_ros/assets_writer_main.cc @@ -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"); diff --git a/cartographer_ros/cartographer_ros/configuration_files_test.cc b/cartographer_ros/cartographer_ros/configuration_files_test.cc index 43d5890..1237d00 100644 --- a/cartographer_ros/cartographer_ros/configuration_files_test.cc +++ b/cartographer_ros/cartographer_ros/configuration_files_test.cc @@ -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); }); } diff --git a/cartographer_ros/cartographer_ros/node_main.cc b/cartographer_ros/cartographer_ros/node_main.cc index 616da97..9cf4923 100644 --- a/cartographer_ros/cartographer_ros/node_main.cc +++ b/cartographer_ros/cartographer_ros/node_main.cc @@ -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();