osi3::MovingObject::PedestrianAttributes::Bone Struct Reference

Bones in the skeleton of the pedestrian. More...

Collaboration diagram for osi3::MovingObject::PedestrianAttributes::Bone:

Public Types

Public Attributes

optional Type type = 1
 Bones are identified by their type, combined with which body side they are on. More...
 
optional Vector3d position = 2
 Position of the bone. More...
 
optional Orientation3d orientation = 3
 Orientation of the bone. More...
 
optional float length = 4
 Length of the bone. More...
 
optional bool missing = 5
 Determines whether a bone is explicitly missing from the pedestrian model. More...
 

Detailed Description

Bones in the skeleton of the pedestrian.

Each point represents a joint, or otherwise important point in the skeleton of a pedestrian. For example pelvis, knee or shoulder. The naming convention should be followed for identifying bones.

Member Enumeration Documentation

◆ Type

The type of the bone.

OSI_PedestrianModelHierarchy.jpg
Enumerator
TYPE_ROOT 

Root point of the pedestrian.

Defined by bbcenter_to_root (PedestrianAttributes::bbcenter_to_root).

TYPE_HIP 

Bone defining the hip.

TYPE_LOWER_SPINE 

Bone defining the lower part of the spine.

TYPE_UPPER_SPINE 

Bone defining the upper part of the spine.

TYPE_NECK 

Bone defining the neck.

TYPE_HEAD 

Bone defining the head.

TYPE_SHOULDER_L 

Bone defining the left shoulder.

TYPE_SHOULDER_R 

Bone defining the right shoulder.

TYPE_UPPER_ARM_L 

Bone defining the left upper arm.

TYPE_UPPER_ARM_R 

Bone defining the right upper arm.

TYPE_LOWER_ARM_L 

Bone defining the left forearm.

TYPE_LOWER_ARM_R 

Bone defining the right forearm.

TYPE_FULL_HAND_L 

Bone defining the left hand.

TYPE_FULL_HAND_R 

Bone defining the right hand.

TYPE_UPPER_LEG_L 

Bone defining the left thigh.

TYPE_UPPER_LEG_R 

Bone defining the right thigh.

TYPE_LOWER_LEG_L 

Bone defining the left shin.

TYPE_LOWER_LEG_R 

Bone defining the right shin.

TYPE_FULL_FOOT_L 

Bone defining the left foot.

TYPE_FULL_FOOT_R 

Bone defining the right foot.

Member Data Documentation

◆ type

optional Type osi3::MovingObject::PedestrianAttributes::Bone::type = 1

Bones are identified by their type, combined with which body side they are on.

To properly identify the bones the pre-defined naming convention must be used.

OSI_SkeletonNamingConvention.svg

A bone's name, position, and orientation is defined by the end-point closer to the root. For example: the "LOWER_ARM_L" will define the point in the left elbow of the model.

If a bone which is more than one layer detached from the root point is used, all bones between that bone and the root also need to be defined in order to create a complete chain!

If information about bones are missing, they may be left empty.

◆ position

optional Vector3d osi3::MovingObject::PedestrianAttributes::Bone::position = 2

Position of the bone.

Reference System is the root, defined by bbcenter_to_root (PedestrianAttributes::bbcenter_to_root).

◆ orientation

optional Orientation3d osi3::MovingObject::PedestrianAttributes::Bone::orientation = 3

Orientation of the bone.

Reference System is the root, defined by bbcenter_to_root (PedestrianAttributes::bbcenter_to_root).

◆ length

optional float osi3::MovingObject::PedestrianAttributes::Bone::length = 4

Length of the bone.

Measured along its major axis.

Unit: m

◆ missing

optional bool osi3::MovingObject::PedestrianAttributes::Bone::missing = 5

Determines whether a bone is explicitly missing from the pedestrian model.

In case a pedestrian has missing limbs this can be explicitly communicated by setting this boolean to TRUE.


  • osi_object.proto