UNPKG

@openhps/core

Version:

Open Hybrid Positioning System - Core component

15 lines (13 loc) 586 B
import { SerializableObject } from '../../decorators'; import { Orientation } from '../../position'; import { SensorObject } from '../SensorObject'; /** * The relative orientation sensor describes the device's physical orientation without regard to the Earth's reference coordinate system. * @category data */ @SerializableObject() export class RelativeOrientationSensor extends SensorObject<Orientation> { constructor(uid?: string, value?: Orientation, frequency?: number, displayName?: string) { super(uid, value ?? new Orientation(), frequency, displayName); } }