From b28ffea97f2000ca1b1d219cb7d0547ec3a0ad29 Mon Sep 17 00:00:00 2001 From: Michael Grupp Date: Wed, 10 Apr 2019 15:30:54 +0200 Subject: [PATCH] Update clang-format to new Google style. (#1260) Apparently the format bot uses a bleeding edge clang-format that uses the new Google style and reformats a bunch of files in every PR. This is an empty commit to trigger this in a separate commit. See https://github.com/llvm-mirror/clang/commit/62e3198c4f5490a1c60ba51d81fe2e1f0dc99135 --- cartographer_ros/cartographer_ros/msg_conversion_test.cc | 3 ++- cartographer_ros/cartographer_ros/offline_node.cc | 1 + cartographer_ros/cartographer_ros/playable_bag.h | 5 +++-- cartographer_ros/cartographer_ros/tf_bridge.cc | 6 +++--- cartographer_ros/cartographer_ros/tf_bridge.h | 3 +-- 5 files changed, 10 insertions(+), 8 deletions(-) diff --git a/cartographer_ros/cartographer_ros/msg_conversion_test.cc b/cartographer_ros/cartographer_ros/msg_conversion_test.cc index 89c8246..85039dd 100644 --- a/cartographer_ros/cartographer_ros/msg_conversion_test.cc +++ b/cartographer_ros/cartographer_ros/msg_conversion_test.cc @@ -14,11 +14,12 @@ * limitations under the License. */ +#include "cartographer_ros/msg_conversion.h" + #include #include #include "cartographer/transform/rigid_transform_test_helpers.h" -#include "cartographer_ros/msg_conversion.h" #include "cartographer_ros/time_conversion.h" #include "gmock/gmock.h" #include "gtest/gtest.h" diff --git a/cartographer_ros/cartographer_ros/offline_node.cc b/cartographer_ros/cartographer_ros/offline_node.cc index b2cf205..71aa6e4 100644 --- a/cartographer_ros/cartographer_ros/offline_node.cc +++ b/cartographer_ros/cartographer_ros/offline_node.cc @@ -22,6 +22,7 @@ #include #endif #include + #include #include "absl/strings/str_split.h" diff --git a/cartographer_ros/cartographer_ros/playable_bag.h b/cartographer_ros/cartographer_ros/playable_bag.h index 06c6086..52db7df 100644 --- a/cartographer_ros/cartographer_ros/playable_bag.h +++ b/cartographer_ros/cartographer_ros/playable_bag.h @@ -16,11 +16,12 @@ #ifndef CARTOGRAPHER_ROS_CARTOGRAPHER_ROS_PLAYABLE_BAG_H #define CARTOGRAPHER_ROS_CARTOGRAPHER_ROS_PLAYABLE_BAG_H +#include +#include + #include #include -#include -#include #include "rosbag/bag.h" #include "rosbag/view.h" #include "tf2_ros/buffer.h" diff --git a/cartographer_ros/cartographer_ros/tf_bridge.cc b/cartographer_ros/cartographer_ros/tf_bridge.cc index 4b3c783..29f80b1 100644 --- a/cartographer_ros/cartographer_ros/tf_bridge.cc +++ b/cartographer_ros/cartographer_ros/tf_bridge.cc @@ -14,11 +14,11 @@ * limitations under the License. */ -#include "absl/memory/memory.h" - -#include "cartographer_ros/msg_conversion.h" #include "cartographer_ros/tf_bridge.h" +#include "absl/memory/memory.h" +#include "cartographer_ros/msg_conversion.h" + namespace cartographer_ros { TfBridge::TfBridge(const std::string& tracking_frame, diff --git a/cartographer_ros/cartographer_ros/tf_bridge.h b/cartographer_ros/cartographer_ros/tf_bridge.h index d65f189..a74f85a 100644 --- a/cartographer_ros/cartographer_ros/tf_bridge.h +++ b/cartographer_ros/cartographer_ros/tf_bridge.h @@ -20,9 +20,8 @@ #include #include "cartographer/transform/rigid_transform.h" -#include "tf2_ros/buffer.h" - #include "cartographer_ros/time_conversion.h" +#include "tf2_ros/buffer.h" namespace cartographer_ros {