Skip to content

Commit 7084da0

Browse files
Peintnererpmai
authored andcommitted
Add initial pedestrian description
Signed-off-by: Jakob Peintner <jakob.peintner@thi.de>
1 parent 9b47674 commit 7084da0

File tree

2 files changed

+59
-0
lines changed

2 files changed

+59
-0
lines changed
203 KB
Loading

osi_object.proto

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -513,6 +513,65 @@ message MovingObject
513513
//
514514
optional ColorDescription color_description = 11;
515515

516+
//
517+
// \brief Additional pedestrian data in case the moving object is a human.
518+
//
519+
// This is an extension to the \c MovingObject with additional information
520+
// describing a pedestrian in more detail.
521+
//
522+
message PedestrianData {
523+
524+
// Body height of the pedestrian
525+
//
526+
// Unit: m
527+
//
528+
optional double height = 1;
529+
530+
// List of all skeleton points of the pedestrian
531+
//
532+
// The number of skeleton points may very, based on the detail level of
533+
// the pedestrian model used. For example, some simulators will not include
534+
// detailed data of the fingers or eyes of the pedestrian.
535+
//
536+
repeated SkeletonPoint skeleton_data = 2;
537+
}
538+
539+
540+
//
541+
// \brief Points in the skeleton of the pedestrian
542+
//
543+
// Each point represents a joint, or otherwise important point in the skeleton
544+
// of a pedestrian. For example Pelvis, Knee or Shoulder. The naming convention
545+
// should be followed for identifying skeleton points.
546+
//
547+
message SkeletonPoint {
548+
549+
550+
// Skeleton points are identified by a naming scheme
551+
//
552+
// To properly identify the skeleton points the pre-defined naming convention
553+
// must be used.
554+
//
555+
//\image html OSI_SkeletonNamingConvention.jpg
556+
//
557+
required string identifier = 1;
558+
559+
// Position of the skeleton point
560+
//
561+
// Reference System is the middle of the bounding box (\c MovingObject::base
562+
// \c BaseMoving::position).
563+
//
564+
required Vector3d position = 2;
565+
566+
// Orientation of the skeleton point
567+
//
568+
// Reference System is the middle of the bounding box (\c MovingObject::base
569+
// \c BaseMoving::position).
570+
//
571+
required Orientation3d orientation = 3;
572+
573+
}
574+
516575
//
517576
// \brief The vehicle attributes for \c MovingObject (host or other).
518577
//

0 commit comments

Comments
 (0)