afry-south / dragonfly-fcb

ÅF Dragonfly Quadrotor UAV Project
Other
7 stars 3 forks source link

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

Open stenbergd opened 9 years ago

stenbergd commented 9 years ago

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

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

adam-at-epsilon commented 8 years ago

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