reset method

  1. @override
void reset()
override

Reset Filter to default settings

Implementation

@override
void reset() {
  x = filledWithZeros(1, columns: _dimX);
  p = Matrix.identity(_dimX);
  q = Matrix.identity(_dimX);
  r = Matrix.identity(_dimX);
  _sigmasF = filledWithZeros(_numSigmas, columns: _dimX);
  _sigmasH = filledWithZeros(_numSigmas, columns: _dimZ);
  _k = filledWithZeros(_dimZ, columns: _dimX);
  _y = filledWithZeros(1, columns: _dimZ).transpose();
  _s = filledWithZeros(_dimZ);
}