diff --git a/osi_detectedobject.proto b/osi_detectedobject.proto index 83a9ab598..9d5a93ad6 100644 --- a/osi_detectedobject.proto +++ b/osi_detectedobject.proto @@ -280,6 +280,8 @@ message DetectedMovingObject // optional MovingObject.VehicleClassification vehicle_classification = 3; + // This field might be deprecated in V4.0 due to new PedestrianClassification message. + // Pedestrian head pose for behavior prediction. Describes the head // orientation w.r.t. the host vehicle orientation. // The x-axis of the right-handed head frame is pointing along the @@ -298,6 +300,8 @@ message DetectedMovingObject // optional Orientation3d head_pose = 4; + // This field might be deprecated in V4.0 due to new PedestrianClassification message. + // Pedestrian upper body pose for behavior prediction. Describes the // upper body orientation w.r.t. the host vehicle orientation. // The x-axis of the right-handed upper body frame is pointing along the @@ -318,7 +322,14 @@ message DetectedMovingObject // Specific information about the classification of a moving object. // - optional MovingObject.MovingObjectClassification moving_object_classification = 6; + optional MovingObject.MovingObjectClassification moving_object_classification = 6; + + // Specific information about the classification of the pedestrian. + // + // \note This field is mandatory if the \c CandidateMovingObject::type + // is \c MovingObject::TYPE_PEDESTRIAN . + // + optional MovingObject.PedestrianClassification pedestrian_classification = 7; } // Definition of available reference points. Left/middle/right and diff --git a/osi_object.proto b/osi_object.proto index cb0b80b5d..3bd80f3ec 100644 --- a/osi_object.proto +++ b/osi_object.proto @@ -359,6 +359,13 @@ message MovingObject // optional MovingObjectClassification moving_object_classification = 9; + // Specific information about the classification of the pedestrian. + // + // \note This field is mandatory if the \c #type is + // #TYPE_PEDESTRIAN . + // + optional PedestrianClassification pedestrian_classification = 10; + // Definition of object types. // enum Type @@ -826,4 +833,45 @@ message MovingObject } } } + + // + // \brief Information for the classification of pedestrians regarding + // \c MovingObject (host or other). + // + message PedestrianClassification + { + // The head pose describes the pedestrian's head orientation. + // The x-axis of the right-handed head frame is pointing along the + // pedestrian's straight ahead viewing direction (anterior), the y-axis lateral to the left, + // and the z-axis is pointing upwards (superior) [1]. + // + // ``View_normal_base_coord_system = + // Inverse_Rotation(#head_pose)*Unit_vector_x`` + // + // \note This field is mandatory if the \c CandidateMovingObject.type is + // \c MovingObject::TYPE_PEDESTRIAN + // + // \par Reference: + // + // [1] Patton, K. T. & Thibodeau, G. A. (2015). Anatomy & Physiology. 9th Edition. Elsevier. Missouri, U.S.A. ISBN 978-0-323-34139-4. p. 1229. + // + optional Orientation3d head_pose = 1; + + // The upper body pose describes the pedestrian's upper body orientation. + // The x-axis of the right-handed upper body frame is pointing along the + // pedestrian's upper body ventral (anterior) direction (i.e. usually + // pedestrian's intended moving direction), the y-axis lateral to the left, + // and the z-axis is pointing upwards (superior, to the pedestrian's head) [1]. + // + // ``View_normal_base_coord_system = + // Inverse_Rotation(#upper_body_pose)*Unit_vector_x`` + // + // \note This field is mandatory if the \c CandidateMovingObject::type + // is \c MovingObject::TYPE_PEDESTRIAN + // + // \par Reference: + // [1] Patton, K. T. & Thibodeau, G. A. (2015). Anatomy & Physiology. 9th Edition. Elsevier. Missouri, U.S.A. ISBN 978-0-323-34139-4. p. 1229. + // + optional Orientation3d upper_body_pose = 2; + } }