Skip to content

Commit 7b24c44

Browse files
thempenpmai
authored andcommitted
Enhance description for bounding_box_section
Add information regarding the handling of side mirrors and the definition of the bounding box. Signed-off-by: Pierre R. Mai <pmai@pmsf.de>
1 parent e32e566 commit 7b24c44

File tree

1 file changed

+20
-22
lines changed

1 file changed

+20
-22
lines changed

osi_common.proto

Lines changed: 20 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -387,14 +387,17 @@ message LogicalLaneAssignment
387387
optional double angle_to_lane = 4;
388388
}
389389

390-
// \brief A bounding box containing a sub-section of a object.
390+
// \brief A bounding box description.
391391
//
392392
// A bounding box representing a sub-section of it's parents overall dimension,
393-
// either that of a \c MovingObject or \c StationaryObject .
393+
// either that of a \c BaseMoving or \c BaseStationary .
394394
//
395395
// The parent frame of the \c BoundingBox is not relative to the parent object
396396
// it is associated to, but in the same parent frame as the parent object.
397397
//
398+
// \note The actual bounding box of the object is defined in dimension, position
399+
// and orientation of the \c BaseMoving and \c BaseStationary .
400+
//
398401
message BoundingBox
399402
{
400403
// The 3D dimensions of the bounding box.
@@ -448,31 +451,25 @@ message BoundingBox
448451
TYPE_CHASSIS = 2;
449452

450453
// The door of a vehicle.
451-
//
452-
// \note A door may extend beyond the dimension of the parent when in
453-
// an open state. A closed door must be within the original dimension.
454454
//
455455
TYPE_DOOR = 3;
456456

457457
// The side mirror of a vehicle.
458458
//
459-
// \note A side mirror may extend beyond the dimension of the parent.
459+
// \note The side mirror is not included in the actual bounding box of
460+
// the parent object.
460461
//
461462
TYPE_SIDE_MIRROR = 4;
462463

463464
// Additional cargo attached to the a vehicle which is temporarily
464465
// attached.
465-
//
466-
// \note Cargo may extend beyond the dimension of the parent.
467466
//
468467
TYPE_CARGO = 5;
469468

470469
// The wheel of a vehicle.
471470
//
472-
// \note A wheel may extend beyond the dimension of the parent.
473-
//
474471
// \note For more detailed information about the wheels of an object,
475-
// please refer to \c MovingObject/VehicleAttributes/WheelData .
472+
// please refer to \c MovingObject/VehicleAttributes/WheelData.
476473
//
477474
TYPE_WHEEL = 6;
478475

@@ -484,6 +481,7 @@ message BoundingBox
484481
//
485482
// \note Limbs can be sub-divided to increase accuracy, i.e. for upper
486483
// and lower arm/leg sections.
484+
//
487485
TYPE_LIMB = 8;
488486

489487
// The head of a person or animal.
@@ -526,6 +524,9 @@ message BaseStationary
526524
// The 3D dimensions of the stationary object (bounding box), e.g. a
527525
// landmark.
528526
//
527+
// \note The \c #dimension must completely enclose the geometry of the
528+
// \c BaseStationary .
529+
//
529530
optional Dimension3d dimension = 1;
530531

531532
// The reference point for position and orientation, i.e. the center (x,y,z)
@@ -572,13 +573,9 @@ message BaseStationary
572573
// Sub-divisions of the overall bounding box of the \c BaseStationary object.
573574
//
574575
// The bounding box sections can include separate parts on partially-opaque
575-
// objects such are trees with a distinction between trunk and crown.
576-
//
577-
// \note When one or more \c BoundingBox s are associated to a
578-
// \c BaseStationary , the expectation is that all sections are contained
579-
// within the bounds of the \c #dimension .
576+
// objects such as trees with a distinction between trunk and crown.
580577
//
581-
// \note It is also expcted that when using \c #bounding_box_section ,
578+
// \note It is expected that when using \c #bounding_box_section ,
582579
// anyone consuming this data has the guarantee that all others parts of
583580
// the \c BaseStationary are covered by a sub-section, such that the
584581
// guarentee is that the remaining area of the objects dimension is
@@ -607,13 +604,17 @@ message BaseMoving
607604
{
608605
// The 3D dimension of the moving object (its bounding box).
609606
//
607+
// \note The \c #dimension must completely enclose the geometry of the
608+
// \c BaseMoving .
609+
//
610610
// \note The bounding box does NOT include side mirrors for vehicles.
611611
//
612612
optional Dimension3d dimension = 1;
613613

614614
// The reference point for position and orientation: the center (x,y,z) of
615615
// the bounding box.
616616
//
617+
//
617618
optional Vector3d position = 2;
618619

619620
// The relative orientation of the moving object w.r.t. its parent frame,
@@ -712,16 +713,13 @@ message BaseMoving
712713
//
713714
// The bounding box sections can include side mirrors, cargo, etc. for
714715
// vehicles, as well as body-part sections for pedestrians.
715-
//
716-
// \note When one or more \c BoundingBox s are associated to a
717-
// \c BaseMoving , the expectation is that all sections are contained
718-
// within the bounds of the \c #dimension .
719716
//
720-
// \note It is also expcted that when using \c #bounding_box_section ,
717+
// \note It is also expected that when using \c #bounding_box_section ,
721718
// anyone consuming this data has the guarantee that all others parts of
722719
// the \c BaseMoving are covered by a sub-section, such that the
723720
// guarentee is that the remaining area of the objects dimension is
724721
// represented by space where no physical collisions could be detected.
722+
// This does not include the side mirrors.
725723
//
726724
repeated BoundingBox bounding_box_section = 9;
727725
}

0 commit comments

Comments
 (0)