Skip to content

Commit

Permalink
Add aliases for typos in enum values
Browse files Browse the repository at this point in the history
Signed-off-by: Pierre R. Mai <[email protected]>
  • Loading branch information
pmai committed Feb 26, 2024
1 parent 8a25677 commit 739f9a9
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 @@ -916,6 +916,8 @@ message CameraDetection
//
enum Color
{
option allow_alias = true;

// Color of the shape is unknown (must not be used in ground
// truth).
//
Expand All @@ -931,6 +933,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 @@ -223,6 +223,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 @@ -254,6 +256,7 @@ message StationaryObject

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

// Mud structure.
Expand Down Expand Up @@ -303,6 +306,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 @@ -339,8 +344,9 @@ message StationaryObject
//
COLOR_BLACK = 8;

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

// White.
Expand Down

0 comments on commit 739f9a9

Please sign in to comment.