Skip to content

Commit d407ecb

Browse files
thomassedlmayerpmai
authored andcommitted
Add new color fields, mark old ones as deprecated
Signed-off-by: Thomas Sedlmayer <tsedlmayer@pmsfit.de>
1 parent 0a20774 commit d407ecb

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

osi_featuredata.proto

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -853,6 +853,10 @@ message CameraDetection
853853

854854
// The dominant color of the shape.
855855
//
856+
// \attention DEPRECATED: This color enum will be removed in version
857+
// 4.0.0. Use the field \c #color_description (\c ColorDescription)
858+
// instead.
859+
//
856860
optional Color color = 28;
857861

858862
// The probability of the shape's color.
@@ -885,6 +889,11 @@ message CameraDetection
885889
//
886890
optional uint32 number_of_points = 32;
887891

892+
//
893+
// The dominant color of the shape.
894+
//
895+
optional ColorDescription color_description = 33;
896+
888897
// Definition of shape dominant color.
889898
//
890899
enum Color

osi_object.proto

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,12 +94,21 @@ message StationaryObject
9494

9595
// The dominating color of the material of the structure.
9696
//
97+
// \attention DEPRECATED: This color enum will be removed in version
98+
// 4.0.0. Use the field \c #color_description (\c ColorDescription)
99+
// instead.
100+
//
97101
optional Color color = 4;
98102

99103
// The attributes of the emitting structure if stationary object is classified as such.
100104
//
101105
optional EmittingStructureAttribute emitting_structure_attribute = 5;
102106

107+
//
108+
// The dominating color of the material of the structure.
109+
//
110+
optional ColorDescription color_description = 6;
111+
103112
// Definition of object types.
104113
//
105114
enum Type
@@ -266,6 +275,10 @@ message StationaryObject
266275

267276
// Definition of colors for structures.
268277
//
278+
// \attention DEPRECATED: This color enum will be removed in version
279+
// 4.0.0. Use \c ColorDescription instead.
280+
//
281+
//
269282
enum Color
270283
{
271284
// Color is unknown (must not be used in ground truth).

0 commit comments

Comments
 (0)