@openhps/core
Version:
Open Hybrid Positioning System - Core component
22 lines • 1.05 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.LinearVelocitySensor = void 0;
const tslib_1 = require("tslib");
const decorators_1 = require("../../decorators");
const values_1 = require("../../values");
const SensorObject_1 = require("../SensorObject");
/**
* The linear velocity sensors provides on each reading the linear velocity of the device along all three axes.
* @category data
*/
let LinearVelocitySensor = class LinearVelocitySensor extends SensorObject_1.SensorObject {
constructor(uid, value, frequency, displayName) {
super(uid, value !== null && value !== void 0 ? value : new values_1.LinearVelocity(), frequency, displayName);
}
};
exports.LinearVelocitySensor = LinearVelocitySensor;
exports.LinearVelocitySensor = LinearVelocitySensor = tslib_1.__decorate([
(0, decorators_1.SerializableObject)(),
tslib_1.__metadata("design:paramtypes", [String, values_1.LinearVelocity, Number, String])
], LinearVelocitySensor);
//# sourceMappingURL=LinearVelocitySensor.js.map