Include what you use. (#214)
parent
cff972ddf2
commit
2803b7bb49
|
@ -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
|
||||
|
|
|
@ -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, "",
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue