diff --git a/cartographer_ros/CMakeLists.txt b/cartographer_ros/CMakeLists.txt
index 7dd43c4..cc2fb9e 100644
--- a/cartographer_ros/CMakeLists.txt
+++ b/cartographer_ros/CMakeLists.txt
@@ -81,6 +81,8 @@ link_directories(${Boost_LIBRARY_DIRS})
add_executable(cartographer_node
src/cartographer_node_main.cc
+ src/map_writer.cc
+ src/map_writer.h
src/msg_conversion.cc
src/msg_conversion.h
src/node_options.cc
@@ -100,7 +102,8 @@ target_link_libraries(cartographer_node
${CARTOGRAPHER_LIBRARIES}
${PCL_LIBRARIES}
${catkin_LIBRARIES}
- gflags # TODO(whess): CMake-ify?
+ gflags
+ yaml-cpp
)
add_dependencies(cartographer_node
${catkin_EXPORTED_TARGETS}
diff --git a/cartographer_ros/package.xml b/cartographer_ros/package.xml
index 059ae4b..4ff2d3c 100644
--- a/cartographer_ros/package.xml
+++ b/cartographer_ros/package.xml
@@ -56,6 +56,7 @@
pcl_conversions
eigen_conversions
message_runtime
+ yaml-cpp
rosunit
diff --git a/cartographer_ros/src/cartographer_node_main.cc b/cartographer_ros/src/cartographer_node_main.cc
index 5e98411..d1429a5 100644
--- a/cartographer_ros/src/cartographer_node_main.cc
+++ b/cartographer_ros/src/cartographer_node_main.cc
@@ -15,7 +15,6 @@
*/
#include
-#include
#include