From 739f9a9012665ddfc46f52dd2dbcd3b914882c58 Mon Sep 17 00:00:00 2001 From: "Pierre R. Mai" Date: Mon, 26 Feb 2024 12:37:37 +0100 Subject: [PATCH] Add aliases for typos in enum values Signed-off-by: Pierre R. Mai --- osi_featuredata.proto | 3 +++ osi_object.proto | 8 +++++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/osi_featuredata.proto b/osi_featuredata.proto index 402869366..d1e784236 100644 --- a/osi_featuredata.proto +++ b/osi_featuredata.proto @@ -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). // @@ -931,6 +933,7 @@ message CameraDetection // Shape with gray color. // + COLOR_GRAY = 3; COLOR_GREY = 3; // Shape with white color. diff --git a/osi_object.proto b/osi_object.proto index cf59d6bc7..d759531ae 100644 --- a/osi_object.proto +++ b/osi_object.proto @@ -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). // @@ -254,6 +256,7 @@ message StationaryObject // Glass structure. // + MATERIAL_GLASS = 7; MATERIAL_GLAS = 7; // Mud structure. @@ -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; @@ -339,8 +344,9 @@ message StationaryObject // COLOR_BLACK = 8; - // GREY. + // GRAY. // + COLOR_GRAY = 9; COLOR_GREY = 9; // White.