examples: add Gyro FFT using CMSIS 5 on Cortex-m (#15104)

- this is a work in progress experiment to compute real time FFTs from raw gyro FIFO data on Cortex-m hardware (stm32f4/f7/h7, etc)
This commit is contained in:
Daniel Agar
2020-10-02 11:47:27 -04:00
committed by GitHub
parent 23aa9ac70f
commit 8ee0c62e57
16 changed files with 832 additions and 0 deletions

15
msg/sensor_gyro_fft.msg Normal file
View File

@@ -0,0 +1,15 @@
uint64 timestamp # time since system start (microseconds)
uint64 timestamp_sample
uint32 device_id # unique device ID for the sensor that does not change between power cycles
float32 dt # delta time between samples (microseconds)
float32 scale
uint8 samples # number of valid samples
uint8 peak_index
float32 peak_frequency_0
float32 peak_frequency_1
float32 peak_frequency_2