UNPKG

@openhps/core

Version:

Open Hybrid Positioning System - Core component

22 lines 937 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Gyroscope = void 0; const tslib_1 = require("tslib"); const decorators_1 = require("../../decorators"); const values_1 = require("../../values"); const SensorObject_1 = require("../SensorObject"); /** * The gyroscope provides on each reading the angular velocity of the device along all three axes. * @category data */ let Gyroscope = class Gyroscope extends SensorObject_1.SensorObject { constructor(uid, value, frequency, displayName) { super(uid, value !== null && value !== void 0 ? value : new values_1.AngularVelocity(), frequency, displayName); } }; exports.Gyroscope = Gyroscope; exports.Gyroscope = Gyroscope = tslib_1.__decorate([ (0, decorators_1.SerializableObject)(), tslib_1.__metadata("design:paramtypes", [String, values_1.AngularVelocity, Number, String]) ], Gyroscope); //# sourceMappingURL=Gyroscope.js.map