Update clang-format to new Google style. (#1564)

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 62e3198c4f
master
Michael Grupp 2019-04-10 13:04:57 +02:00 committed by Wally B. Feed
parent dc745a147a
commit 035162d865
34 changed files with 34 additions and 21 deletions

View File

@ -15,6 +15,7 @@
*/
#include "cartographer/cloud/internal/client/pose_graph_stub.h"
#include "async_grpc/client.h"
#include "cartographer/cloud/internal/handlers/delete_trajectory_handler.h"
#include "cartographer/cloud/internal/handlers/get_all_submap_poses.h"

View File

@ -15,6 +15,7 @@
*/
#include "cartographer/cloud/internal/handlers/add_fixed_frame_pose_data_handler.h"
#include "cartographer/cloud/internal/testing/handler_test.h"
#include "cartographer/cloud/internal/testing/test_helpers.h"
#include "google/protobuf/text_format.h"

View File

@ -15,6 +15,7 @@
*/
#include "cartographer/cloud/internal/handlers/add_imu_data_handler.h"
#include "cartographer/cloud/internal/testing/handler_test.h"
#include "cartographer/cloud/internal/testing/test_helpers.h"
#include "google/protobuf/text_format.h"

View File

@ -15,6 +15,7 @@
*/
#include "cartographer/cloud/internal/handlers/add_landmark_data_handler.h"
#include "cartographer/cloud/internal/testing/handler_test.h"
#include "cartographer/cloud/internal/testing/test_helpers.h"
#include "google/protobuf/text_format.h"

View File

@ -15,6 +15,7 @@
*/
#include "cartographer/cloud/internal/handlers/add_odometry_data_handler.h"
#include "cartographer/cloud/internal/testing/handler_test.h"
#include "cartographer/cloud/internal/testing/test_helpers.h"
#include "google/protobuf/text_format.h"

View File

@ -15,6 +15,7 @@
*/
#include "cartographer/cloud/internal/handlers/add_rangefinder_data_handler.h"
#include "cartographer/cloud/internal/testing/handler_test.h"
#include "cartographer/cloud/internal/testing/test_helpers.h"
#include "google/protobuf/text_format.h"

View File

@ -15,6 +15,7 @@
*/
#include "cartographer/cloud/internal/handlers/add_trajectory_handler.h"
#include "cartographer/cloud/internal/sensor/serialization.h"
#include "cartographer/cloud/internal/testing/handler_test.h"
#include "cartographer/cloud/internal/testing/test_helpers.h"

View File

@ -15,6 +15,7 @@
*/
#include "cartographer/cloud/internal/handlers/get_landmark_poses_handler.h"
#include "cartographer/cloud/internal/testing/handler_test.h"
#include "cartographer/cloud/internal/testing/test_helpers.h"
#include "google/protobuf/text_format.h"

View File

@ -15,6 +15,7 @@
*/
#include "cartographer/cloud/internal/handlers/set_landmark_pose_handler.h"
#include "cartographer/cloud/internal/testing/handler_test.h"
#include "cartographer/cloud/internal/testing/test_helpers.h"
#include "cartographer/transform/rigid_transform_test_helpers.h"

View File

@ -14,8 +14,6 @@
* limitations under the License.
*/
#include "cartographer/cloud/internal/map_builder_server.h"
#include "cartographer/cloud/internal/map_builder_server.h"
#include "cartographer/mapping/internal/2d/local_slam_result_2d.h"
#include "cartographer/mapping/internal/3d/local_slam_result_3d.h"

View File

@ -1,4 +1,5 @@
#include "cartographer/common/lockless_queue.h"
#include "gtest/gtest.h"
namespace cartographer {

View File

@ -17,13 +17,12 @@
#ifndef CARTOGRAPHER_COMMON_PORT_H_
#define CARTOGRAPHER_COMMON_PORT_H_
#include <cinttypes>
#include <cmath>
#include <string>
#include <boost/iostreams/device/back_inserter.hpp>
#include <boost/iostreams/filter/gzip.hpp>
#include <boost/iostreams/filtering_stream.hpp>
#include <cinttypes>
#include <cmath>
#include <string>
namespace cartographer {

View File

@ -17,6 +17,7 @@
#include "cartographer/common/time.h"
#include <time.h>
#include <cerrno>
#include <cstring>
#include <string>

View File

@ -14,9 +14,10 @@
* limitations under the License.
*/
#include "cartographer/io/fake_file_writer.h"
#include <vector>
#include "cartographer/io/fake_file_writer.h"
#include "glog/logging.h"
#include "gtest/gtest.h"

View File

@ -15,9 +15,9 @@
*/
#include "cartographer/io/internal/in_memory_proto_stream.h"
#include "cartographer/mapping/proto/pose_graph.pb.h"
#include "cartographer/mapping/proto/serialization.pb.h"
#include "gtest/gtest.h"
namespace cartographer {

View File

@ -15,6 +15,7 @@
*/
#include "cartographer/io/internal/mapping_state_serialization.h"
#include "cartographer/mapping/proto/serialization.pb.h"
#include "cartographer/transform/transform.h"

View File

@ -17,6 +17,7 @@
#include "cartographer/io/probability_grid_points_processor.h"
#include <string>
#include "cartographer/common/lua_parameter_dictionary.h"
#include "cartographer/common/lua_parameter_dictionary_test_helpers.h"
#include "cartographer/common/port.h"

View File

@ -15,6 +15,7 @@
*/
#include "cartographer/io/proto_stream.h"
#include "glog/logging.h"
namespace cartographer {

View File

@ -14,10 +14,11 @@
* limitations under the License.
*/
#include "cartographer/io/proto_stream_deserializer.h"
#include <memory>
#include "cartographer/io/internal/in_memory_proto_stream.h"
#include "cartographer/io/proto_stream_deserializer.h"
#include "cartographer/io/testing/test_helpers.h"
#include "glog/logging.h"
#include "gmock/gmock.h"

View File

@ -15,6 +15,7 @@
*/
#include "cartographer/io/testing/test_helpers.h"
#include "cartographer/mapping/proto/serialization.pb.h"
namespace cartographer {

View File

@ -14,14 +14,13 @@
* limitations under the License.
*/
#include "cartographer/mapping/2d/probability_grid_range_data_inserter_2d.h"
#include <memory>
#include "absl/memory/memory.h"
#include "cartographer/common/lua_parameter_dictionary.h"
#include "cartographer/common/lua_parameter_dictionary_test_helpers.h"
#include "cartographer/mapping/2d/probability_grid.h"
#include "cartographer/mapping/2d/probability_grid_range_data_inserter_2d.h"
#include "cartographer/mapping/probability_values.h"
#include "gmock/gmock.h"

View File

@ -15,7 +15,6 @@
*/
#include "cartographer/mapping/2d/submap_2d.h"
#include "cartographer/mapping/2d/probability_grid.h"
#include <map>
#include <memory>
@ -25,6 +24,7 @@
#include "cartographer/common/lua_parameter_dictionary.h"
#include "cartographer/common/lua_parameter_dictionary_test_helpers.h"
#include "cartographer/common/port.h"
#include "cartographer/mapping/2d/probability_grid.h"
#include "cartographer/transform/transform.h"
#include "gmock/gmock.h"

View File

@ -17,9 +17,8 @@
#ifndef CARTOGRAPHER_MAPPING_DETECT_FLOORS_H_
#define CARTOGRAPHER_MAPPING_DETECT_FLOORS_H_
#include "cartographer/mapping/proto/trajectory.pb.h"
#include "cartographer/common/time.h"
#include "cartographer/mapping/proto/trajectory.pb.h"
namespace cartographer {
namespace mapping {

View File

@ -15,6 +15,7 @@
*/
#include "cartographer/mapping/internal/2d/local_slam_result_2d.h"
#include "cartographer/mapping/internal/2d/pose_graph_2d.h"
namespace cartographer {

View File

@ -18,6 +18,7 @@
#define CARTOGRAPHER_MAPPING_INTERNAL_NORMAL_ESTIMATION_2D_H_
#include <vector>
#include "cartographer/mapping/proto/2d/normal_estimation_options_2d.pb.h"
#include "cartographer/sensor/point_cloud.h"
#include "cartographer/sensor/range_data.h"

View File

@ -15,7 +15,6 @@
*/
#include "cartographer/mapping/internal/2d/scan_matching/correlative_scan_matcher_2d.h"
#include "cartographer/sensor/point_cloud.h"
#include "gtest/gtest.h"

View File

@ -15,6 +15,7 @@
*/
#include "cartographer/mapping/internal/2d/scan_matching/occupied_space_cost_function_2d.h"
#include "cartographer/mapping/probability_values.h"
#include "ceres/cubic_interpolation.h"

View File

@ -18,7 +18,6 @@
#include "cartographer/mapping/2d/probability_grid.h"
#include "cartographer/mapping/probability_values.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"

View File

@ -20,7 +20,6 @@
#include "cartographer/common/lua_parameter_dictionary_test_helpers.h"
#include "cartographer/mapping/2d/tsdf_2d.h"
#include "cartographer/mapping/2d/tsdf_range_data_inserter_2d.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"

View File

@ -15,6 +15,7 @@
*/
#include "cartographer/mapping/internal/3d/local_slam_result_3d.h"
#include "cartographer/mapping/internal/3d/pose_graph_3d.h"
namespace cartographer {

View File

@ -15,11 +15,11 @@
*/
#include "cartographer/mapping/internal/constraints/constraint_builder_2d.h"
#include "cartographer/mapping/2d/probability_grid.h"
#include <functional>
#include "cartographer/common/internal/testing/thread_pool_for_testing.h"
#include "cartographer/mapping/2d/probability_grid.h"
#include "cartographer/mapping/2d/submap_2d.h"
#include "cartographer/mapping/internal/constraints/constraint_builder.h"
#include "cartographer/mapping/internal/testing/test_helpers.h"

View File

@ -17,11 +17,10 @@
#ifndef CARTOGRAPHER_MAPPING_MAP_BUILDER_H_
#define CARTOGRAPHER_MAPPING_MAP_BUILDER_H_
#include "cartographer/mapping/map_builder_interface.h"
#include <memory>
#include "cartographer/common/thread_pool.h"
#include "cartographer/mapping/map_builder_interface.h"
#include "cartographer/mapping/pose_graph.h"
#include "cartographer/mapping/proto/map_builder_options.pb.h"
#include "cartographer/sensor/collator_interface.h"

View File

@ -15,6 +15,7 @@
*/
#include "cartographer/mapping/range_data_inserter_interface.h"
#include "cartographer/mapping/2d/probability_grid_range_data_inserter_2d.h"
#include "cartographer/mapping/2d/tsdf_range_data_inserter_2d.h"

View File

@ -15,10 +15,10 @@
*/
#include "cartographer/sensor/point_cloud.h"
#include "cartographer/transform/transform.h"
#include <cmath>
#include "cartographer/transform/transform.h"
#include "gtest/gtest.h"
namespace cartographer {