Giter VIP home page Giter VIP logo

Comments (2)

byoung2 avatar byoung2 commented on May 20, 2024

I am testing this out for filtering GPS measurements. I get 10 updates per second but they aren't always 100ms apart. Is it necessary for the measurements to be evenly spaced? If so, I could calculate a sliding window median at a less frequent interval (e.g. every second for the measurements in the last second) and feed those to the filter. Or should there be a way to pass in time delta since last measurement? If a GPS location is moving at a constant rate but the measurements are not evenly spaced, it might look like more noise.

from kalmanjs.

wouterbulten avatar wouterbulten commented on May 20, 2024

In principle the library is unaware of the time that has passed and it will work best if it is as constant as possible. If the time between the last measurement increases, I assume that the noise estimates should also change (as you are probably farther off). In my usage of the library (for indoor positioning) I assumed that the time deltas were so short, that you could assume there was no movement. This was quite a simplification, but worked for the use case (some background here https://www.wouterbulten.nl/posts/slacjs/#presentation). More complicated scenario's are a bit out of scope for this lib.

Closing this issue for further discussion, as issues are limited to discussions regarding problems/improvements of the library. Questions can be placed in the blog post https://www.wouterbulten.nl/posts/lightweight-javascript-library-for-noise-filtering/ which also contains many answers to common questions. Alternatively, I have a blog post with more background about how the filter works: https://www.wouterbulten.nl/posts/kalman-filters-explained-removing-noise-from-rssi-signals

from kalmanjs.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.