From ac15e46727b7accb71953f83c7825113abb5253f Mon Sep 17 00:00:00 2001 From: gaschler Date: Tue, 23 Jan 2018 23:37:15 +0100 Subject: [PATCH] Fix gflags include in offline nodes (#677) FIX=#676 --- .../cartographer_ros/cartographer_grpc/offline_node_grpc_main.cc | 1 + cartographer_ros/cartographer_ros/offline_node_main.cc | 1 + 2 files changed, 2 insertions(+) diff --git a/cartographer_ros/cartographer_ros/cartographer_grpc/offline_node_grpc_main.cc b/cartographer_ros/cartographer_ros/cartographer_grpc/offline_node_grpc_main.cc index ccaf317..507fea4 100644 --- a/cartographer_ros/cartographer_ros/cartographer_grpc/offline_node_grpc_main.cc +++ b/cartographer_ros/cartographer_ros/cartographer_grpc/offline_node_grpc_main.cc @@ -17,6 +17,7 @@ #include "cartographer_grpc/mapping/map_builder_stub.h" #include "cartographer_ros/offline_node.h" #include "cartographer_ros/ros_log_sink.h" +#include "gflags/gflags.h" #include "ros/ros.h" DEFINE_string(server_address, "localhost:50051", diff --git a/cartographer_ros/cartographer_ros/offline_node_main.cc b/cartographer_ros/cartographer_ros/offline_node_main.cc index 606448b..845954f 100644 --- a/cartographer_ros/cartographer_ros/offline_node_main.cc +++ b/cartographer_ros/cartographer_ros/offline_node_main.cc @@ -17,6 +17,7 @@ #include "cartographer/mapping/map_builder.h" #include "cartographer_ros/offline_node.h" #include "cartographer_ros/ros_log_sink.h" +#include "gflags/gflags.h" #include "ros/ros.h" int main(int argc, char** argv) {