mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-16 11:43:33 +08:00
gyro_fft: change default length 1024 -> 512 to decrease latency
- change default FFT length (1024 -> 512)
- this doubles the update rate because half the number of samples are required for each
- decrease number of peaks (4 -> 3)
- so far 3 seems to be sufficient on most vehicles
- increase median filter window (3 -> 5)
- decrease SNR requirement (likely needs to be configurable)
This commit is contained in:
@@ -6,10 +6,10 @@ uint32 device_id # unique device ID for the sensor that does not change
|
||||
float32 sensor_sample_rate_hz
|
||||
float32 resolution_hz
|
||||
|
||||
float32[4] peak_frequencies_x # x axis peak frequencies
|
||||
float32[4] peak_frequencies_y # y axis peak frequencies
|
||||
float32[4] peak_frequencies_z # z axis peak frequencies
|
||||
float32[3] peak_frequencies_x # x axis peak frequencies
|
||||
float32[3] peak_frequencies_y # y axis peak frequencies
|
||||
float32[3] peak_frequencies_z # z axis peak frequencies
|
||||
|
||||
float32[4] peak_snr_x # x axis peak SNR
|
||||
float32[4] peak_snr_y # y axis peak SNR
|
||||
float32[4] peak_snr_z # z axis peak SNR
|
||||
float32[3] peak_snr_x # x axis peak SNR
|
||||
float32[3] peak_snr_y # y axis peak SNR
|
||||
float32[3] peak_snr_z # z axis peak SNR
|
||||
|
||||
Reference in New Issue
Block a user