rav
d9909b91d3
enable frequency analysis and automatic, dynamic changing of notch filter frequencies
...
change F3 from CM1 to CM4
add debug flags for FFT
add bandpass filter
add different filtering apply function
add feature DYNAMIC_FILTER
replace mode GTUNE with DYNAMIC FILTER
move gyro frequency analysis into gyro loop instead of own task
2017-05-11 16:10:29 +02:00
Martin Budden
6d72117b8d
Minor variable renames in gyro sensor
2017-05-08 08:12:53 +01:00
Martin Budden
6f5c1e9aca
Moved softfilter state items into a union
2017-05-08 07:50:08 +01:00
Martin Budden
4be1e31d01
Further work on multiple gyro support
2017-05-08 07:02:45 +01:00
Martin Budden
83d49e503e
Add Fn suffix to accgyro function pointers
2017-05-07 23:21:44 +01:00
Martin Budden
49b698f09e
Base gyro calibration on raw data
2017-05-02 10:58:05 +01:00
Martin Budden
3e4325f484
Merge pull request #2773 from martinbudden/bf_gyro_reentrant_calibration
...
Further work on supporting 2 gyros
2017-05-02 10:57:15 +01:00
Martin Budden
2493c214b0
Created subdirectories in drivers directory
2017-04-12 08:06:22 +01:00
Martin Budden
e1ffd34d8f
Further work on making gyro reentrant
2017-03-29 16:44:28 +01:00
Martin Budden
13b353ea3f
Got rid of extiConfig_t, ust use ioTag directly instead
2017-03-29 11:01:26 +01:00
Martin Budden
21014481b1
Improved EXTI pin handling
2017-03-26 15:11:04 +01:00
Martin Budden
9a3cad9ca3
Further work on gyro SPI selection
2017-03-26 10:10:10 +01:00
Martin Budden
60c2b812d1
Added runtime setting of gyro SPI pin
2017-03-26 07:43:51 +01:00
Martin Budden
0f5ef69c14
Split initialisation of gyro filters
2017-03-06 07:41:32 +00:00
Martin Budden
ea2ec8b069
Added hooks for gyro data analysis
2017-02-23 15:52:26 +00:00
Martin Budden
dbfc355097
Added support for BMI160 gyro
2017-02-22 21:37:37 +00:00
Martin Budden
0bca49d8c4
Added PG config definitions 1
2017-02-22 09:43:05 +00:00
borisbstyle
de3d1d527d
Merge branch 'master' into patch_v3.1.6
2017-02-20 14:40:43 +01:00
borisbstyle
84105629ea
Fix filter bug for trying filter over nyquist
2017-02-20 01:52:15 +01:00
Martin Budden
f2b423525d
Split gyro device out of gyro sensor struct
2017-02-06 00:00:32 +00:00
Martin Budden
a3951a3340
Preparation for conversion to parameter groups 3
2017-02-01 12:24:58 +00:00
Martin Budden
79d4b2146d
Preparation for conversion to parameter groups
2017-02-01 08:46:19 +00:00
Michael Jakob
61d72b8738
Renamed MPU function pointers, align with iNav
2017-01-31 10:11:05 +00:00
Martin Budden
8e79e8092e
Fixed up whitespace
2017-01-22 22:42:45 +00:00
mikeller
a91ff6838f
Added debug output for gyro calibraton noise, increased 'moron_threshold' to 48.
2017-01-12 21:54:05 +13:00
Martin Budden
7b90a76098
Do runtime check to see if gyro supports 32kHz
2017-01-11 00:53:15 +00:00
Martin Budden
8edb9ef810
Minor gyro optimisations
2017-01-08 21:36:16 +00:00
Martin Budden
72b15e1c97
Fix gyro reading in gyroUpdate function
2017-01-07 21:37:58 +00:00
borisbstyle
c5922d2422
Remove volatile from gyroADC
2017-01-06 12:53:11 +01:00
borisbstyle
d4d75f6da1
Add comments to gyro.c
2017-01-06 11:50:57 +01:00
borisbstyle
9fe1ebd1aa
Merge pull request #2023 from martinbudden/bf_gyro_fixes
...
Minor fixes to gyro ISR code, as per review
2017-01-06 11:47:29 +01:00
mikeller
747219e0df
Fixed gyro update / arming for targets without gyro interrupt.
2017-01-06 23:24:11 +13:00
Martin Budden
e513fd8472
Minor fixes to gyro ISR code, as per review
2017-01-06 09:42:07 +00:00
borisbstyle
075b387167
Fix for unset gyroADCf when notch2 disabled
2017-01-06 09:59:21 +01:00
Martin Budden
10d3c2e76b
Reset task statistics after gyro calibration complete
2017-01-05 21:52:40 +00:00
Martin Budden
95111483d8
Added support for 32kHz gyro updates
2017-01-05 20:11:56 +00:00
Martin Budden
a1c14320bf
Allow gyro read and filter in ISR for SPI gyros
2017-01-05 12:57:28 +00:00
blckmn
102114758c
Better representation of actual sensor (when using 6500 compatible sensors).
2017-01-01 18:37:54 +11:00
Martin Budden
42344a8fe6
Made gyro device code reentrant
2016-12-18 00:16:23 +00:00
Martin Budden
714bb02c54
Fixes issue 1844
2016-12-17 19:20:30 +00:00
Martin Budden
17494840a5
Moved gyro and acc detection code into init functions
2016-12-13 10:00:43 +00:00
Martin Budden
d9a2f7f5d9
Moved EXTI into gyroDev_t
2016-12-13 09:01:32 +00:00
Martin Budden
c7835f781d
Fixes issue 1789
2016-12-10 10:03:18 +00:00
Martin Budden
a47c073874
Used device pointer in detect functions
2016-12-07 09:16:42 +00:00
Martin Budden
4bb6820c42
Moved sensor detection into respective sensor modules
2016-12-05 15:26:14 +00:00
Martin Budden
60e2227396
Moved alignment from sensor into device
2016-12-05 06:49:14 +00:00
Martin Budden
4b18ff9049
Fixed harmless error in gyro merge
2016-12-01 19:18:33 +00:00
Martin Budden
b8b9c95f57
Moved sensor global data into sensor_s structs
2016-12-01 17:47:17 +00:00
Martin Budden
590e569375
Changed gyro init and read functions to take a gyro_t* parameter.
...
Scaled gyro values to degrees per second in gyroUpdate.
2016-11-30 16:59:55 +00:00
Martin Budden
bbddbfcb7b
Fixed incorrect initialisation of gyro PT1 filter
2016-11-29 08:54:23 +00:00