UNPKG

@openhps/core

Version:

Open Hybrid Positioning System - Core component

15 lines (13 loc) 565 B
import { SerializableObject } from '../../decorators'; import { LinearVelocity } from '../../values'; import { SensorObject } from '../SensorObject'; /** * The linear velocity sensors provides on each reading the linear velocity of the device along all three axes. * @category data */ @SerializableObject() export class LinearVelocitySensor extends SensorObject<LinearVelocity> { constructor(uid?: string, value?: LinearVelocity, frequency?: number, displayName?: string) { super(uid, value ?? new LinearVelocity(), frequency, displayName); } }