Skip to main content

AccelerometerReadingEvent

Discrete reading from an accelerometer. Accelerometers measure the velocity of the device. Note that these readings include the effects of gravity. Put simply, you can use accelerometer readings to tell if the device is moving in a particular direction.

Inherits: Event

Properties

  • timestamp - Event timestamp.
  • x - Acceleration along the X axis, in m/s^2.
  • y - Acceleration along the Y axis, in m/s^2.
  • z - Acceleration along the Z axis, in m/s^2.

Properties

timestampinstance-attribute

timestamp: datetime

Event timestamp.

xinstance-attribute

x: float

Acceleration along the X axis, in m/s^2.

yinstance-attribute

y: float

Acceleration along the Y axis, in m/s^2.

zinstance-attribute

z: float

Acceleration along the Z axis, in m/s^2.