Definition
Functional Requirements
Syntax
Semantics
Conformance Testing
Performance Assessment
1 Definition
An Item representing an Object’s orientation, orientation velocity, and orientation acceleration.
2 Functional Requirements
- The Orientation of an Object is that of its principal axis, which is the X axis of the body frame of the Object.
- The Orientation is the rotation that takes the axes of the reference frame onto the body axes of the Object.
- An Orientation is either three Euler angles (α, β, γ) or a unit quaternion of four numbers. The Spatial Qualifier states which, the order and the type (intrinsic or extrinsic) of the rotations, or the order of the four numbers.
- When no Spatial Qualifier is given, the conventions of ISO 8855 apply. The reference frame is right-handed East-North-Up; the body axes are X forward, Y left and Z up. The Euler angles, in degrees, are intrinsic rotations: first α about Z (yaw), then β about the once-rotated axis Y′ (pitch), then γ about the twice-rotated axis X″ (roll), that is R = Rz(α)·Ry(β)·Rx(γ). Each angle is positive by the right-hand rule: a positive α turns the principal axis from East towards North, a positive β pitches it down. A quaternion is (w, x, y, z).
- α and γ are in (−180°, 180°], β is in [−90°, 90°].
- At β = ±90° the Euler angles are singular: α and γ cannot be told apart. A quaternion has no such singularity: a sender should give the Orientation as a quaternion when |β| exceeds 85°. A quaternion is a unit quaternion with w ≥ 0.
- OrientVelocity and OrientAccel are the rates of change of (α, β, γ).
- The following media types are supported: Speech, Audio, Visual, 3D Model, Multimodal, Haptic, Smell, RADAR, LiDAR, Ultrasound.
- Accuracy is the estimated absolute difference between the measures of each of Orientation, OrientVelocity, and OrientAccel and their true values.
3 Syntax
https://schemas.mpai.community/OSD/V1.5/data/Orientation.json
4 Semantics
Table 1 provides the semantics of the components of Orientation. Note that Euler angles are indicated by (α,β,γ). An orientation may also be given as a quaternion of four numbers, as the Spatial Qualifier states.
| Header | Orientation Header – Standard “OSD‑OOR‑Vx.y”. |
| MInstanceID | Identifier of the M-Instance (Virtual Space) where this Orientation refers to. |
| UEnvironmentID | Identifier of the U-Environment (Real Space) where this Orientation refers to. |
| OrientationID | Unique identifier of this Object Orientation instance. |
| OrientationTime | Time this Orientation instance was produced. |
| OrientationSpaceTime | Space/Time where/when this Orientation applies. |
| General | General classification data of the Object. |
| – ObjectType | Type of the Object: one of Digital Human, Generic. |
| – MediaType | Media type of the Object: one of Speech, Audio, Visual, Multimodal, Haptic, Smell, RADAR, LiDAR, Ultrasound. |
| Orientation | |
| – Orient (α,β,γ) | Three Euler angles (α, β, γ) in degrees, or a unit quaternion of four numbers, representing the Object’s orientation. By default (ISO 8855) yaw, pitch and roll, intrinsic rotations about Z, Y′ and X″; α and γ in (−180, 180], β in [−90, 90]; a quaternion (w, x, y, z). The Spatial Qualifier states another representation, order or convention. |
| – OrientAccuracy | Estimated accuracy of each Euler angle (α,β,γ) in Orientation (degrees). |
| Velocity of Orientation | |
| – OrientVelocity (α,β,γ) | Angular velocity of the Object’s orientation (degrees/s). |
| – OrientVelocityAccuracy | Estimated accuracy of each angular velocity component (α,β,γ) (degrees/s). |
| Acceleration of Orientation | |
| – OrientAccel (α,β,γ) | Angular acceleration of the Object’s orientation (degrees/s²). |
| – OrientAccelAccuracy | Estimated accuracy of each angular acceleration component (α,β,γ) (degrees/s²). |
| SpatialQualifier | Spatial Qualifier (TFA-SAQ) stating the conventions of this Orientation: the representation, the order and type of the rotations or the order of the four numbers, the reference frame and the axes. When it is absent, the conventions of ISO 8855 apply. |
| DataXMData | MPAI-PTF Data Exchange Metadata providing provenance, authorisation, legal, security, and confidence information associated with this Orientation instance in a trusted data exchange context. |
| DescrMetadata | Human-readable descriptive metadata of the Orientation instance (plain text, max 2048 characters). |
5 Conformance Testing
A Data instance conforms with Orientation (OSD‑OOR) if:
- The Data validates against the Orientation’s JSON Schema.
- All Data in the Orientation’s JSON Schema:
- Have the specified type.
- Validate against their JSON Schemas.
- Conform with their Data Qualifiers.
6 Performance Assessment
Not part of this specification.