Skip to content

Commit 739f9a9

Browse files
committed
Add aliases for typos in enum values
Signed-off-by: Pierre R. Mai <pmai@pmsf.de>
1 parent 8a25677 commit 739f9a9

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

osi_featuredata.proto

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -916,6 +916,8 @@ message CameraDetection
916916
//
917917
enum Color
918918
{
919+
option allow_alias = true;
920+
919921
// Color of the shape is unknown (must not be used in ground
920922
// truth).
921923
//
@@ -931,6 +933,7 @@ message CameraDetection
931933

932934
// Shape with gray color.
933935
//
936+
COLOR_GRAY = 3;
934937
COLOR_GREY = 3;
935938

936939
// Shape with white color.

osi_object.proto

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,8 @@ message StationaryObject
223223
//
224224
enum Material
225225
{
226+
option allow_alias = true;
227+
226228
// Type of the material is unknown (must not be used in ground
227229
// truth).
228230
//
@@ -254,6 +256,7 @@ message StationaryObject
254256

255257
// Glass structure.
256258
//
259+
MATERIAL_GLASS = 7;
257260
MATERIAL_GLAS = 7;
258261

259262
// Mud structure.
@@ -303,6 +306,8 @@ message StationaryObject
303306
//
304307
enum Color
305308
{
309+
option allow_alias = true;
310+
306311
// Color is unknown (must not be used in ground truth).
307312
//
308313
COLOR_UNKNOWN = 0;
@@ -339,8 +344,9 @@ message StationaryObject
339344
//
340345
COLOR_BLACK = 8;
341346

342-
// GREY.
347+
// GRAY.
343348
//
349+
COLOR_GRAY = 9;
344350
COLOR_GREY = 9;
345351

346352
// White.

0 commit comments

Comments
 (0)