1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-16 04:45:24 +03:00
Commit graph

9442 commits

Author SHA1 Message Date
ctzsnooze
2bc6f92c1b move definition of dataThreshold 2018-08-20 00:33:11 +10:00
ctzsnooze
c6a2ba18ef Improve peak detection 2018-08-20 00:33:11 +10:00
ctzsnooze
14c90bf10b user configurable sample rate, true peak detection
1. User can set sampling rate to suit expected range of frequencies:
- HIGH suits 4" or smaller and 6S 5"
- MEDIUM suits classic 5" 4S
- LOW is for 6" or greater
Limits automatically scaled:
HIGH : 133/166 to 1000Hz, MEDIUM : 89/111 to 666Hz, LOW : 67/83 to 500Hz
2. Bandpass entirely eliminated, not needed.
3. True peak detection method, favouring first peak to exceed 80% of maximum bin height; ignore or threshold values not required.
2018-08-20 00:33:11 +10:00
Andrey Mironov
3f001295f7 Simplified FFT location 2018-08-20 00:33:11 +10:00
ctzsnooze
1e960c95eb Dynamic Filter Update
Improves on earlier 3.5RC1 dynamic filter with:
- better FFT tracking performance overall, even with a narrower default notch width
- can reach 850Hz for high kV 2.5-3" and 6S quads
- works better with 32k gyros
- can be applied pre- (location 1) and post- (location 2) static filters. Pre-static filter location works best, but post-static may work well in 32k modes or with PT1 option
- option to use a PT1 filter rather than the classical notch filter, perhaps useful for quads with a lot of noise above their peak.
- ability to totally bypass the pre-FFT bandpass filter, by setting Q=0, maximising the range of responsiveness
- "ignore" value, absolute FFT bin amplitude below which the bin will be excluded from consideration. May be tweaked to optimise peak detection; primarily for advanced tuners. If too high, only the very peaks will be included, if too low, noise may clutter peak detection.
- "threshold" value for peak detection, which, when divided by 10, is the multiple by which one bin must exceed the previous one for peak detection to commence. If too low, FFT detection becomes more random, if too high, no peaks are detected.
2018-08-20 00:33:10 +10:00
mikeller
316cf0ce6e Removed features from SPRACINGF3, RMDO to make the firmware fit into flash. 2018-08-19 02:02:02 +12:00
Michael Keller
a1b84b58d3
Merge pull request #6182 from Ziege-One/Hott-telemetry-alarm-voltage-and-mAh
Hott telemetry alarm voltage and mAh
2018-08-19 01:45:39 +12:00
mikeller
63b6298c78 Fixed GPS rescue MSP. 2018-08-19 00:13:00 +12:00
AirBreak69
0e52e21524 GPS altitude: cleanup all occurancies to assume source is in cm per lsb resolution
Harmonized (and partly corrected) all occurancies of gpsSol.llh.alt and getEstimatedAltitude() to handle altiude sourced in cm resolution.
This was introduced by GSP_RESCUE/RTH.
Introduced a naming convention that include the unit into the variable/function names:
gpsSol.llh.alt -> gpsSol.llh.alt_cm
getEstimatedAltitude() -> getEstimatedAltitude_cm()
2018-08-19 00:11:30 +12:00
mikeller
a4a701829c Fixed GPS rescue MSP. 2018-08-18 14:09:41 +12:00
Michael Keller
5a2501f3e5
Merge pull request #5955 from David-VG/master
MSP for GPS Rescue
2018-08-18 12:56:12 +12:00
Michael Keller
5f5601e31d
Merge pull request #6575 from mikeller/increment_msp_to_1_41
Incremented MSP version to 1.41 for 4.0.
2018-08-18 09:42:17 +12:00
Michael Keller
98616d4690
Merge pull request #6521 from ctzsnooze/3_5_defaults
Set default iterm relax to RP and RC smoothing to filter
2018-08-17 12:30:23 +12:00
Michael Keller
968583710b
Merge pull request #6542 from DieHertz/bfdev-add-gnss-fix-messages
Added GNSS receiver fix messages
2018-08-17 00:36:42 +12:00
Michael Keller
45b6989350
Merge pull request #6536 from leocb/Acc-reciprocal
Change divisions by acc_1G to multiply by the reciprocal value
2018-08-17 00:36:27 +12:00
Michael Keller
c86818e1be
Merge pull request #6527 from etracer65/bb_header_interp_ch
Add interpolation channels to the blackbox header
2018-08-17 00:35:59 +12:00
Michael Keller
701bcd24da
Merge pull request #6522 from awolf78/LUA_VTX_support
VTX LUA support for external VTX devices
2018-08-17 00:35:39 +12:00
Michael Keller
7f870d0252
Merge pull request #6509 from awolf78/master
Added MSP_MULTIPLE_MSP
2018-08-17 00:32:32 +12:00
Michael Keller
660a21d282
Merge pull request #6498 from frozenskys/feature-tidyuposd
Tidy up max7456_symbols.h and document OSD Font glyphs.
2018-08-17 00:31:32 +12:00
Michael Keller
18cc9ef15a
Merge pull request #6404 from s0up/rescue_config_change
[GPS Rescue] - Allow minimum distance to home to be configurable.
2018-08-17 00:22:52 +12:00
Michael Keller
41ce2c6327
Merge pull request #6391 from leocb/osd-max-g-force-stat
Added Max G-force OSD stat
2018-08-17 00:22:11 +12:00
Michael Keller
d4eabba541
Merge pull request #6232 from McGiverGim/add_elements_osd_order_loop
Add OSD elements to order loop
2018-08-16 23:57:46 +12:00
Michael Keller
fdb4e20ed0
Merge pull request #6224 from Scavanger/CMS-for-Hott-Textmode
CMS for HoTT-Textmode.
2018-08-16 23:57:15 +12:00
Michael Keller
44d92915c2
Merge pull request #6215 from Scavanger/SUMD-V3
Add SUMD V3 support
2018-08-16 23:56:44 +12:00
Michael Keller
eefd3e62a2
Merge pull request #6155 from mikeller/remove_ledstrip_upcall
Remove up call from drivers in 'light_ws2811strip.h'.
2018-08-16 23:45:33 +12:00
Michael Keller
69dc62aff4
Merge pull request #6133 from jevring/mah-used-in-heading-field-mavlink
Enable using the 'heading' field in MAVlink to display mAh used
2018-08-16 23:45:10 +12:00
mikeller
d7bed772d5 Incremented MSP version to 1.41 for 4.0. 2018-08-16 23:32:04 +12:00
mikeller
e21cdecee2 Updated version for 4.0.0. 2018-08-15 19:31:42 +12:00
Michael Keller
a851043683 Increment EEPROM version to force config reset. 2018-08-14 13:33:32 +12:00
Alex Wolf
031ea3ea94 Merge branch 'master' of https://github.com/betaflight/betaflight 2018-08-13 18:27:44 -04:00
Michael Keller
91798f89b4
Merge pull request #6529 from mikeller/remove_osd_slave
Removed SPRACINGF3OSD support.
2018-08-14 06:48:14 +12:00
Michael Keller
086e1a08c4
Merge pull request #6526 from flywoo/master
Add new target FLYWOOF405
2018-08-12 18:20:54 +12:00
flywoo
eab8969b70 Edit the format 2018-08-12 13:41:40 +08:00
flywoo
f87fd80c58 Add FLYWOOF4 target variant 2018-08-12 12:54:54 +08:00
Michael Keller
883899011c
Merge pull request #6549 from mikeller/fix_errorneous_resource_lines
Fixed errorneous 'resource' lines in 'diff' when 'USE_PWM' is disabled.
2018-08-12 02:18:53 +12:00
mikeller
8d03431699 Fixed errorneous 'resource' lines in 'diff' when 'USE_PWM' is disabled. 2018-08-12 00:14:34 +12:00
Michael Keller
d97ec44a1e
Merge pull request #6538 from nyway/master
Change DALRC F722DUAL VBAT_SCALE_DEFAULT
2018-08-11 22:28:10 +12:00
ZhengNingwei
67e83c7a92 Change DALRC F722DUAL VBAT_SCALE_DEFAULT
DALRC F722DUAL will support 10s battery,the VBAT_SCALE_DEFAULT change 160,max voltage achieved 51V.

DALRCF722DUAL add picture

DALRCF722DUAL add picture

Update board -DALRCF722DUAL.md

Update board -DALRCF722DUAL.md
2018-08-11 15:12:58 +08:00
Andrey Mironov
efd7586841 Added GNSS receiver fix messages 2018-08-10 13:52:50 +03:00
flywoo
e48190ccd7 change_3 2018-08-10 17:02:07 +08:00
flywoo
3fc506f0ad changer code add pwm5-pwm8,fcam,support mpu6000,modify scl-uart pin 2018-08-10 16:41:03 +08:00
flywoo
9494a26231 change_1 2018-08-10 15:07:03 +08:00
MJ666
022cb588e9 Fortini F4 Rev3 CAM control update 2018-08-10 07:25:22 +02:00
leocb
24ab7d3421 Fix struct padding and implict double conversion 2018-08-09 18:00:48 -03:00
leocb
34b0707cb6 change divisions by acc_1G to multiply by the reciprocal value 2018-08-09 14:41:05 -03:00
Alex Wolf
f0511f6e2d Merge branch 'master' of https://github.com/betaflight/betaflight 2018-08-07 21:15:59 -04:00
Michael Keller
283e55e45d Removed SPRACINGF3OSD support. 2018-08-08 08:32:20 +12:00
Bruce Luckcuck
d37244518d Add interpolation channels to the blackbox header
Added blackbox header "rc_interpolation_channels".
2018-08-07 11:07:09 -04:00
Alex Wolf
7b6555f001 Add MSP_MULTIPLE_MSP 2018-08-07 10:47:32 -04:00
flywoo
fdddaec4e8 Add new target FLYWOOF405 2018-08-07 17:30:40 +08:00