Class for processed IMU data. Contains smoothed compass and accelerometer data, and optionally the raw data. Also provides calculated pitch and roll values.
Constructs an instance of IMUData.
Smoothed compass data [x, y, z].
[x, y, z]
Smoothed accelerometer data [x, y, z].
Optional
Optional raw IMU data.
Smoothed accelerometer data as a tuple: [x, y, z].
Smoothed compass data as a tuple: [x, y, z].
Calculated pitch in degrees.
Calculated roll in degrees.
Class for processed IMU data. Contains smoothed compass and accelerometer data, and optionally the raw data. Also provides calculated pitch and roll values.