getAccelAngles method

List<double> getAccelAngles()

Gets the last angle values, in °, 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> getAccelAngles() {
  return [_accelAngleX, _accelAngleY, _accelAngleZ];
}