OSDN Git Service

GMIN-3044: Implement a simple filtering routine for noisy sensors
authorPatrick Porlan <patrick.porlan@intel.com>
Tue, 12 Aug 2014 18:58:58 +0000 (20:58 +0200)
committerAdriana Reus <adriana.reus@intel.com>
Wed, 13 Aug 2014 15:23:54 +0000 (18:23 +0300)
commit752fe0e5f5e5b252884b5ea48353a3791c4f5264
tree282e240efb952190c5de1157ccee7891d5289954
parent4c189692e67bc68d520d7adf462348ea4fd54900
GMIN-3044: Implement a simple filtering routine for noisy sensors

Keep a window of samples worth a second, and output the moving
average of the last recorded samples in order to smooth out
readings from extremely noisy sensors such as the BMM050 magneto.

We may want to use more advanced filters in the future.

Issue: GMIN-3044

Change-Id: I10bc0ddb960ed31e89228bc69fcf17f38fa85b97
Signed-off-by: Patrick Porlan <patrick.porlan@intel.com>
common.h
control.c
transform.c