Go to MPAI-OSD V1.5 Data Types

Definition
Functional Requirements
Syntax
Semantics
Conformance Testing
Performance Assessment

1      Definition

An Item representing the Position and Orientation of an Object, and their velocities and accelerations.

2      Functional Requirements

  • The Spatial Attitude is defined as the combination of Position and Orientation. The Functional Requirements are defined by the Position and Orientation Data Types.
  • When the Position and the Orientation are in the same reference frame, a point given in the body frame of the Object, pbody, is located in the reference frame at p = R · pbody + CartPosition, where R is the rotation of the Orientation: the point is rotated by the Orientation first, then translated by the Position.
  • Every Spatial Attitude of the same Object carries the same ObjectID, so that a receiver can follow the Object from one instance to the next.
  • A Spatial Qualifier of the Spatial Attitude applies to its Position and to its Orientation. A Spatial Qualifier carried by the Position or by the Orientation overrides it, the reference frame included. When no Spatial Qualifier is given, the default conventions of Position and Orientation (ISO 8855) apply.

3      Syntax

https://schemas.mpai.community/OSD/V1.5/data/SpatialAttitude.json

4      Semantics

Table 1 provides the semantics of the components of Spatial Attitude.

Table 1 – Semantics of the Spatial Attitude Data Type

Label
Description
Header Spatial Attitude Header – Standard “OSD‑OSA‑Vx.y”.
MInstanceID Identifier of the M-Instance (Virtual Space) where this Spatial Attitude is defined.
UEnvironmentID Identifier of the U-Environment (Real Space) where this Spatial Attitude is defined.
ObjectSpatialAttitudeID Unique identifier of this Spatial Attitude instance.
ObjectID Identifier of the Object this Spatial Attitude describes: the same in every Spatial Attitude of that Object within a U-Environment or M-Instance.
SpatialAttitudeTime Time this Spatial Attitude instance was produced.
General General classification data of the Object.
    – CoordType Coordinate type: one of Cartesian, Spherical, Cylindrical, Geodetic, Toroidal.
    – ObjectType Type of the Object: one of Digital Human, Generic.
    – MediaType Media type: one of Speech, Audio, Visual, Multimodal, Haptic, Smell, RADAR, LiDAR, Ultrasound.
Position Position of the Object as specified by the Position Data Type.
Orientation Orientation of the Object as specified by the Orientation Data Type.
SpatialQualifier Spatial Qualifier (TFA-SAQ) stating the conventions by which the Position and the Orientation of this Spatial Attitude are to be read. A Spatial Qualifier of the Position or of the Orientation overrides it.
DataXMData MPAI-PTF Data Exchange Metadata providing provenance, authorisation, legal, security, and confidence information associated with this Spatial Attitude instance in a trusted data exchange context.
DescrMetadata Human-readable descriptive metadata of the Spatial Attitude instance (plain text, max 2048 characters).

5      Conformance Testing

A Data instance conforms with Spatial Attitude (OSD‑OSA) if:

  1. The Data validates against the Spatial Attitude’s JSON Schema.
  2. All Data in the Spatial Attitude’s JSON Schema:
    1. Have the specified type.
    2. Validate against their JSON Schemas.
    3. Conform with their Data Qualifiers.

6      Performance Assessment

Not part of this specification.

Go to MPAI-OSD V1.5 Data Types