mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-29 03:36:07 +08:00
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:
@@ -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
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user