Skip to content

UserAccelerometerReadingEvent

Inherits: Event['UserAccelerometer']

Like AccelerometerReadingEvent, this is a discrete reading from an accelerometer and measures the velocity of the device. However, unlike AccelerometerReadingEvent, this event does not include the effects of gravity.

Properties

  • timestamp(int) –

    Event timestamp, expressed in microseconds since epoch.

  • x(float) –

    Linear acceleration along the X axis, gravity removed, in m/s^2.

  • y(float) –

    Linear acceleration along the Y axis, gravity removed, in m/s^2.

  • z(float) –

    Linear acceleration along the Z axis, gravity removed, in m/s^2.

Properties#

timestamp instance-attribute #

timestamp: int

Event timestamp, expressed in microseconds since epoch.

x instance-attribute #

x: float

Linear acceleration along the X axis, gravity removed, in m/s^2.

y instance-attribute #

y: float

Linear acceleration along the Y axis, gravity removed, in m/s^2.

z instance-attribute #

z: float

Linear acceleration along the Z axis, gravity removed, in m/s^2.