mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-17 19:33:34 +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:
@@ -7,11 +7,6 @@ float32 dt # delta time between samples (microseconds)
|
||||
|
||||
float32 resolution_hz
|
||||
|
||||
uint8[3] peak_index_0
|
||||
uint8[3] peak_index_1
|
||||
|
||||
float32[3] peak_frequency_0 # largest frequency peak found per sensor axis (0 if none)
|
||||
float32[3] peak_frequency_1 # second largest frequency peak found per sensor axis (0 if none)
|
||||
|
||||
uint8[3] peak_index_quinns
|
||||
float32[3] peak_frequency_quinns
|
||||
float32[2] peak_frequency_x # x axis peak frequencies
|
||||
float32[2] peak_frequency_y # y axis peak frequencies
|
||||
float32[2] peak_frequency_z # z axis peak frequencies
|
||||
|
||||
Reference in New Issue
Block a user