simple_kalman 0.0.1 copy "simple_kalman: ^0.0.1" to clipboard
simple_kalman: ^0.0.1 copied to clipboard

outdated

A project to implement a one-dimensional Kalman filter in Dart language

Simple Kalman #

A project to implement a one-dimensional Kalman filter in Dart language photo

Example usage:

Create Kalman filter

SimpleKalman kalman = SimpleKalman(256, 150, 0.9);

@first parameter - value range; @second parameter - error range; @third parameter - filter sensitivity factor (0.001 ... 10) 0.001 - low sensitivity (smooth change of values) 10 - high sensitivity (sharp change of values)

import 'package:simple_kalman/simple_kalman.dart';

void main() {
  List<int> _data = [127, 0, 133, 136, 139, 256, 145, 148, 151];
  
  SimpleKalman kalman = SimpleKalman(256, 150, 0.9);
  for (var value in _sinData) {
    print("Origin: $value Filtered: ${kalman.filtered(value.toDouble())}");
  }

Changelog #

Refer to the Changelog to get all release notes.

Features and bugs #

Please file feature requests and bugs at the issue tracker.

License #

WTFPL

13
likes
0
pub points
75%
popularity

Publisher

unverified uploader

A project to implement a one-dimensional Kalman filter in Dart language

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

More

Packages that depend on simple_kalman