juangallostra / AltitudeEstimation

A two-step Kalman/Complementary filter for Estimation of Vertical Position using an IMU-Barometer sytem
MIT License
58 stars 20 forks source link

Oversample with linear interpolation #1

Closed juangallostra closed 6 years ago

juangallostra commented 6 years ago

Since the sampling rate that results from transmitting data through the serial is bigger than desired, oversample by linearly interpolating two consecutive readings with the desired sampling rate.

The sensor's biases have also been removed because the sensor unit already computes them at startup and Hackflight subtracts them from the readings before they are sent through the serial.

Finally, this PR also updates the color schema of the plot.