Skip to content

Commit c41d856

Browse files
committed
Add aliases for typos in enum values
1 parent 7a6165d commit c41d856

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
@@ -908,6 +908,8 @@ message CameraDetection
908908
//
909909
enum Color
910910
{
911+
option allow_alias = true;
912+
911913
// Color of the shape is unknown (must not be used in ground
912914
// truth).
913915
//
@@ -923,6 +925,7 @@ message CameraDetection
923925

924926
// Shape with gray color.
925927
//
928+
COLOR_GRAY = 3;
926929
COLOR_GREY = 3;
927930

928931
// Shape with white color.

osi_object.proto

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,8 @@ message StationaryObject
222222
//
223223
enum Material
224224
{
225+
option allow_alias = true;
226+
225227
// Type of the material is unknown (must not be used in ground
226228
// truth).
227229
//
@@ -253,6 +255,7 @@ message StationaryObject
253255

254256
// Glass structure.
255257
//
258+
MATERIAL_GLASS = 7;
256259
MATERIAL_GLAS = 7;
257260

258261
// Mud structure.
@@ -302,6 +305,8 @@ message StationaryObject
302305
//
303306
enum Color
304307
{
308+
option allow_alias = true;
309+
305310
// Color is unknown (must not be used in ground truth).
306311
//
307312
COLOR_UNKNOWN = 0;
@@ -338,8 +343,9 @@ message StationaryObject
338343
//
339344
COLOR_BLACK = 8;
340345

341-
// GREY.
346+
// GRAY.
342347
//
348+
COLOR_GRAY = 9;
343349
COLOR_GREY = 9;
344350

345351
// White.

0 commit comments

Comments
 (0)