UNPKG

@openhps/core

Version:

Open Hybrid Positioning System - Core component

22 lines 1.12 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.RelativeOrientationSensor = void 0; const tslib_1 = require("tslib"); const decorators_1 = require("../../decorators"); const position_1 = require("../../position"); const SensorObject_1 = require("../SensorObject"); /** * The relative orientation sensor describes the device's physical orientation without regard to the Earth's reference coordinate system. * @category data */ let RelativeOrientationSensor = class RelativeOrientationSensor extends SensorObject_1.SensorObject { constructor(uid, value, frequency, displayName) { super(uid, value !== null && value !== void 0 ? value : new position_1.Orientation(), frequency, displayName); } }; exports.RelativeOrientationSensor = RelativeOrientationSensor; exports.RelativeOrientationSensor = RelativeOrientationSensor = tslib_1.__decorate([ (0, decorators_1.SerializableObject)(), tslib_1.__metadata("design:paramtypes", [String, position_1.Orientation, Number, String]) ], RelativeOrientationSensor); //# sourceMappingURL=RelativeOrientationSensor.js.map