stadiamaps / ferrostar

A FOSS navigation SDK built from the ground up for the future
https://stadiamaps.github.io/ferrostar/
Other
179 stars 25 forks source link

Look at Kalman filtering to reduce GPS noise #23

Open ianthetechie opened 1 year ago

ianthetechie commented 1 year ago

Especially important for lower quality phones, but this can quite dramatically reduce noise even in fairly open skies on an iPhone! See https://mastodon.social/@_Davidsmith/111409340172869799.

This can be added to the NavigationController and be applied transparently. Probably should be configurable in case someone wants to disable it.

ianthetechie commented 8 months ago

As a side note, with Kalman filtering, we also get smoothed speed estimates "for free." So this is probably a prerequisite for anything related to speed in the app. (I say this is a prerequisite because, while we can get instantaneous speed from individual GPS readings that are fairly accurate, this is going to be pretty noisy.)

ianthetechie commented 3 months ago

@haysmike linked a great article in today's Ferrostar dev meeting: https://www.uber.com/en-CA/blog/rethinking-gps/