gauteh / sfy

🌊 A lightweight wave buoy for near-shore deployments.
MIT License
39 stars 6 forks source link

synthetic data and notebook #109

Open jerabaul29 opened 1 year ago

jerabaul29 commented 1 year ago

The signal processing algorithms can be really tricky to get right; I think the best / only way to make sure they work correctly would be to use some synthetic data in and compare with the output; for example generate a synthetic signal that corresponds to a sensor that:

this can be sampled at any frequency, filtered by the Kalman filter, and compared to the true value.

Doing so would be the "ultimate" test that all is correct.

gauteh commented 1 year ago

There is a python interface here: https://github.com/gauteh/ahrs-fusion/blob/main/python/tests/test_nxp.py which should make it easy to test the Kalman filter.