intern-space-program / avionics

Avionics software to be developed and passed down over multiple tours.
http://internspaceprogram.com/
MIT License
9 stars 8 forks source link

add filtering capability to nav #1

Open mdbernard opened 4 years ago

mdbernard commented 4 years ago

As of right now, nav will return a new position based entirely on the previous position and the current acceleration/velocity readings. However, due to noise in the acceleration/velocity readings, the position returned can be pretty noisy as well. It'd be beneficial to have a filter which takes longer-term trends into consideration before returning a current position/velocity.