RxIMU class

IMU data stream, returns raw 3-axis magnetometer and 3-axis accelerometer data and optionally computes derived values Note, a proper calculation of Heading requires magnetometer calibration, tilt compensation (which we can do here from the accelerometer), and magnetic declination adjustment (which is lat-long and time-dependent). Magnetometer calibration and declination adjustments need to be done outside this class.

Constructors

RxIMU({int imuFlag = 0x0A, int smoothingSamples = 1})

Properties

hashCode → int
The hash code for this object.
no setterinherited
imuFlag → int
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

attach(Stream<List<int>> dataResponse) → Stream<IMUData>
Attach this RxIMU to the Frame's dataResponse characteristic stream.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited