Skip to content

Commit

Permalink
Add aliases for typos in enum values
Browse files Browse the repository at this point in the history
  • Loading branch information
pmai committed Feb 26, 2024
1 parent 7a6165d commit c41d856
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
3 changes: 3 additions & 0 deletions osi_featuredata.proto
Original file line number Diff line number Diff line change
Expand Up @@ -908,6 +908,8 @@ message CameraDetection
//
enum Color
{
option allow_alias = true;

// Color of the shape is unknown (must not be used in ground
// truth).
//
Expand All @@ -923,6 +925,7 @@ message CameraDetection

// Shape with gray color.
//
COLOR_GRAY = 3;
COLOR_GREY = 3;

// Shape with white color.
Expand Down
8 changes: 7 additions & 1 deletion osi_object.proto
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,8 @@ message StationaryObject
//
enum Material
{
option allow_alias = true;

// Type of the material is unknown (must not be used in ground
// truth).
//
Expand Down Expand Up @@ -253,6 +255,7 @@ message StationaryObject

// Glass structure.
//
MATERIAL_GLASS = 7;
MATERIAL_GLAS = 7;

// Mud structure.
Expand Down Expand Up @@ -302,6 +305,8 @@ message StationaryObject
//
enum Color
{
option allow_alias = true;

// Color is unknown (must not be used in ground truth).
//
COLOR_UNKNOWN = 0;
Expand Down Expand Up @@ -338,8 +343,9 @@ message StationaryObject
//
COLOR_BLACK = 8;

// GREY.
// GRAY.
//
COLOR_GRAY = 9;
COLOR_GREY = 9;

// White.
Expand Down

0 comments on commit c41d856

Please sign in to comment.