Skip to content
This repository has been archived by the owner on May 3, 2022. It is now read-only.

Use DSP to calculate variance/mean etc of sensor values #115

Open
stenbergd opened this issue Sep 11, 2015 · 1 comment
Open

Use DSP to calculate variance/mean etc of sensor values #115

stenbergd opened this issue Sep 11, 2015 · 1 comment

Comments

@stenbergd
Copy link
Contributor

It would be of interest and importance for the Kalman filter to estimate the sensor variance and mean value.

  • Implement CLI command to start a sensor sampling task
  • After taking some samples (not too many, we have limited memory space) calculate variance/standard dev/mean etc. with DSP
  • Print values to USB

Perhaps we should use dynamic memory allocation for this so we can unallocate/free used memory after we have taken sensor samples for this

@stenbergd stenbergd added this to the Sensors milestone Sep 11, 2015
@adam-at-epsilon
Copy link
Contributor

Note to self: use arm_var_f32 and arm_mean_f32 declared in arm_math.h file.

stenbergd pushed a commit that referenced this issue Jun 12, 2016
…ld frame coordinate system. Needs testing.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants