getAccelAccelerations method

List<double> getAccelAccelerations()

Gets the last acceleration values, in g, retrieved from the accelerometer, for the x, y and z axis. Call updateValues repeatedly with a high frequency to get accurate values.

Implementation

List<double> getAccelAccelerations() {
  return [_accelAccelerationX, _accelAccelerationY, _accelAccelerationZ];
}