Requester: @ETSells
(Non-developer requests only): Is your feature request related to a problem? Please describe.
Barometric data fluctuates with huge spikes in flight, which makes our barometric altitude readings unreliable.
Describe the solution you'd like
We should find some way to smooth out these fluctuations. Per @Aaryan-Anand, we could consider some kind of moving average for now as it'd be fairly simple to implement. An exponential moving average, in particular, would be very simple.
Consider one in the form EMAt = BARO_EMA_ALPHA * baro_prest + (1 - BARO_EMA_ALPHA) * EMAt-1
Describe alternatives you've considered
N/A
Additional context
N/A
Points of Contact
Primary POC: @NArmistead
Solution pitched by @Aaryan-Anand
Sensor SME: @ETSells
Requester: @ETSells
(Non-developer requests only): Is your feature request related to a problem? Please describe.
Barometric data fluctuates with huge spikes in flight, which makes our barometric altitude readings unreliable.
Describe the solution you'd like
We should find some way to smooth out these fluctuations. Per @Aaryan-Anand, we could consider some kind of moving average for now as it'd be fairly simple to implement. An exponential moving average, in particular, would be very simple.
Consider one in the form EMAt = BARO_EMA_ALPHA * baro_prest + (1 - BARO_EMA_ALPHA) * EMAt-1
Describe alternatives you've considered
N/A
Additional context
N/A
Points of Contact
Primary POC: @NArmistead
Solution pitched by @Aaryan-Anand
Sensor SME: @ETSells