RxIMU({ this.imuFlag = 0x0A, int smoothingSamples = 1, }) : _smoothingSamples = smoothingSamples { _compassBuffer = SensorBuffer(_smoothingSamples); _accelBuffer = SensorBuffer(_smoothingSamples); }