From 6e274766f2acdb6df13871ebd1c37254e27adc57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20Sch=C3=BCtte?= Date: Mon, 13 Nov 2017 09:18:53 +0100 Subject: [PATCH] Remove unnecessary [packed=true] annotation (#660) [RFC=0000](https://github.com/googlecartographer/rfcs/blob/master/text/0000-proto3-transition.md) --- cartographer/mapping_3d/proto/hybrid_grid.proto | 8 ++++---- cartographer/sensor/proto/sensor.proto | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cartographer/mapping_3d/proto/hybrid_grid.proto b/cartographer/mapping_3d/proto/hybrid_grid.proto index 8caf1e8..feb968d 100644 --- a/cartographer/mapping_3d/proto/hybrid_grid.proto +++ b/cartographer/mapping_3d/proto/hybrid_grid.proto @@ -19,10 +19,10 @@ package cartographer.mapping_3d.proto; message HybridGrid { float resolution = 1; // '{x, y, z}_indices[i]' is the index of 'values[i]'. - repeated sint32 x_indices = 3 [packed = true]; - repeated sint32 y_indices = 4 [packed = true]; - repeated sint32 z_indices = 5 [packed = true]; + repeated sint32 x_indices = 3; + repeated sint32 y_indices = 4; + repeated sint32 z_indices = 5; // The entries in 'values' should be uint16s, not int32s, but protos don't // have a uint16 type. - repeated int32 values = 6 [packed = true]; + repeated int32 values = 6; } diff --git a/cartographer/sensor/proto/sensor.proto b/cartographer/sensor/proto/sensor.proto index bd55ad6..fac666a 100644 --- a/cartographer/sensor/proto/sensor.proto +++ b/cartographer/sensor/proto/sensor.proto @@ -23,7 +23,7 @@ import "cartographer/transform/proto/transform.proto"; // Compressed collection of a 3D point cloud. message CompressedPointCloud { int32 num_points = 1; - repeated int32 point_data = 3 [packed = true]; + repeated int32 point_data = 3; } // Proto representation of ::cartographer::sensor::ImuData.