OpenHPS/openhps-core

View on GitHub
src/data/object/sensors/AbsoluteOrientationSensor.ts

Summary

Maintainability
A
1 hr
Test Coverage
import { SerializableObject } from '../../decorators';
import { Orientation } from '../../position';
import { SensorObject } from '../SensorObject';

/**
 * Absolute orientation sensor describes the device's physical orientation in relation to the Earth's reference coordinate system.
 * @category data
 */
@SerializableObject()
export class AbsoluteOrientationSensor extends SensorObject<Orientation> {
    constructor(uid?: string, value?: Orientation, frequency?: number, displayName?: string) {
        super(uid, value ?? new Orientation(), frequency, displayName);
    }
}