UNPKG

@openhps/core

Version:

Open Hybrid Positioning System - Core component

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