Skip to content

Commit 6e09399

Browse files
thempenpmai
authored andcommitted
Reworked the Type fields.
Signed-off-by: Thomas Hempen <thomas.hempen@carissma.eu>
1 parent 1ab8432 commit 6e09399

File tree

1 file changed

+25
-10
lines changed

1 file changed

+25
-10
lines changed

osi_common.proto

Lines changed: 25 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -431,13 +431,6 @@ message BoundingBox
431431
//
432432
optional Type contained_object_type = 4;
433433

434-
// Another type of object contained in the bounding box
435-
//
436-
// This field shall only be used if \c contained_object_type is TYPE_OTHER
437-
// and the object type is not defined withing \c contained_object_type.
438-
//
439-
optional string other_object_type = 5;
440-
441434
// Opaque reference of an associated 3D model of the bounding box.
442435
//
443436
// \note It is implementation-specific how model_references are resolved to
@@ -448,9 +441,6 @@ message BoundingBox
448441

449442
// Definition of different types of object contained within the bounding box
450443
//
451-
// \note This enum field is mainly a placeholder to be extended in the future.
452-
// feel free to suggest type definitions for future releases.
453-
//
454444
enum Type
455445
{
456446
// Object of unknown type (must not be used in ground truth).
@@ -460,6 +450,31 @@ message BoundingBox
460450
// Any other type of object.
461451
//
462452
TYPE_OTHER = 1;
453+
454+
// The main structure of an object, e.g. a chassis of a vehicle,
455+
// or the central structure of a building, a tree trunk, etc.
456+
//
457+
TYPE_BASE_STRUCTURE = 2;
458+
459+
// The door of an object.
460+
//
461+
TYPE_DOOR = 3;
462+
463+
// The side mirror of a vehicle.
464+
//
465+
// \note The side mirror is not included in the overall bounding box
466+
// of the parent object.
467+
//
468+
TYPE_SIDE_MIRROR = 4;
469+
470+
// Additional, temporarily attached cargo to an object.
471+
//
472+
TYPE_CARGO = 5;
473+
474+
// An overhanging, integral part of on object, which is not temporarily attached.
475+
// e.g. a tree crown, or a light pole arm.
476+
//
477+
TYPE_PROTRUDING = 6;
463478
}
464479
}
465480

0 commit comments

Comments
 (0)