Include what you use. (#214)

master
Holger Rapp 2016-12-06 16:23:33 +01:00 committed by GitHub
parent cff972ddf2
commit 2803b7bb49
3 changed files with 4 additions and 0 deletions

View File

@ -175,6 +175,7 @@ google_binary(cartographer_assets_writer
google_binary(cartographer_node
USES_CARTOGRAPHER
USES_GFLAGS
SRCS
node_main.cc
DEPENDS
@ -195,6 +196,7 @@ install(TARGETS cartographer_assets_writer
)
google_binary(cartographer_offline_node
USES_CARTOGRAPHER
USES_GFLAGS
SRCS
offline_node_main.cc
DEPENDS

View File

@ -23,6 +23,7 @@
#include "cartographer/common/port.h"
#include "cartographer_ros/node.h"
#include "cartographer_ros/ros_log_sink.h"
#include "gflags/gflags.h"
#include "tf2_ros/transform_listener.h"
DEFINE_string(configuration_directory, "",

View File

@ -26,6 +26,7 @@
#include "cartographer_ros/node.h"
#include "cartographer_ros/ros_log_sink.h"
#include "cartographer_ros/urdf_reader.h"
#include "gflags/gflags.h"
#include "ros/callback_queue.h"
#include "rosbag/bag.h"
#include "rosbag/view.h"