UNPKG

@openhps/core

Version:

Open Hybrid Positioning System - Core component

15 lines (13 loc) 610 B
import { SerializableObject } from '../../decorators'; import { Acceleration } from '../../values'; import { SensorObject } from '../SensorObject'; /** * The linear acceleration sensor provides on each reading the acceleration applied to the device along all three axes, but without the contribution of gravity. * @category data */ @SerializableObject() export class LinearAccelerationSensor extends SensorObject<Acceleration> { constructor(uid?: string, value?: Acceleration, frequency?: number, displayName?: string) { super(uid, value ?? new Acceleration(), frequency, displayName); } }