experimental/gyro_fft: improve peak detection, add start parameter

- add new parameter `IMU_GYRO_FFT_EN` to start
 - add 75% overlap in buffer to increase FFT update rate
 - space out FFT calls (no more than 1 per cycle)
 - increase `IMU_GYRO_FFT_MIN` default
 - decrease main stack usage
This commit is contained in:
Daniel Agar
2020-10-25 23:48:21 -04:00
committed by GitHub
parent 945c17bc3f
commit 614a0ac2a2
6 changed files with 135 additions and 112 deletions
+5
View File
@@ -526,6 +526,11 @@ else
bst start -X
fi
if param compare IMU_GYRO_FFT_EN 1
then
gyro_fft start
fi
#
# Optional board supplied extras: rc.board_extras
#