gauteh / sfy

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

tuning noise levels to the exact chip, tuning for bias of the gyro by removing offset #111

Open jerabaul29 opened 1 year ago

jerabaul29 commented 1 year ago

I cut corners on this specific point (by contrast with the other points, which I hope I got right ^^), but that should be a "smaller perturbation" compared with getting units / signs right:

I did not do this and just used the typical default values (that probably correspond to a given set of accel / gyro / mag). But to do it really right, these parameters should be tuned:

https://github.com/adafruit/Adafruit_AHRS/blob/69b3a854be83d8b6c6d897d801882a222d1ae510/src/Adafruit_AHRS_NXPFusion.cpp#L41-L65

also if using gyro these should be adapted to the lat / lon:

https://github.com/adafruit/Adafruit_AHRS/blob/69b3a854be83d8b6c6d897d801882a222d1ae510/src/Adafruit_AHRS_NXPFusion.cpp#L66-L69

That may not play an as big role as the other effects, and may be a bit tricky to get right though...