1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-14 20:10:18 +03:00
Commit graph

12217 commits

Author SHA1 Message Date
Michael Keller
73bbf51245
Merge pull request #6457 from mikeller/convert_camera_control_pin
Converted camera control pin definition to timer flag.
2018-08-22 23:59:18 +12:00
jflyper
82268b7a4e Add osd warning for fail safe state. 2018-08-22 20:22:40 +09:00
Michael Keller
ce925f863e
Merge pull request #6614 from mikeller/remove_led_strip
Removed LED_STRIP from F3 targets to make room during the development phase.
2018-08-22 22:12:11 +12:00
mikeller
4f9490e8ef Removed LED_STRIP from F3 targets to make room during the development phase. 2018-08-22 20:00:37 +12:00
mikeller
40f1fe0737 Fixed tests. 2018-08-22 19:51:32 +12:00
Michael Keller
53151817e1
Merge pull request #6430 from mikeller/remove_duplicate_build_bug_on
Removed 'BUILD_BUG_ON'.
2018-08-22 18:49:45 +12:00
Sean M
ab8f9af8ee Allow copying of rate profile 6 2018-08-21 19:49:08 -04:00
ctzsnooze
d1d5a30fb4 fix FFT location error 2018-08-21 12:05:12 +10:00
mikeller
00a7d20227 Fixed tests. 2018-08-21 00:37:20 +12:00
mikeller
8a72362a67 Fixed tests. 2018-08-21 00:36:47 +12:00
mikeller
6de1c32d9d Added shadow copies for CLI and MSP. 2018-08-21 00:36:47 +12:00
mikeller
985a9208d5 Cleaned up feature handling functions. 2018-08-21 00:36:31 +12:00
mikeller
8abf138e2a Fixed tests, SPRACINGF3OSD. 2018-08-21 00:36:31 +12:00
mikeller
c99629bbf1 Removed calls to (latching) 'feature()'. 2018-08-21 00:35:55 +12:00
Michael Keller
f463dad8bd
Merge pull request #6200 from mikeller/vtx_improvements_from_inav
VTX improvements from iNav.
2018-08-21 00:34:33 +12:00
mikeller
e91231aa0e Fixed wedging test in 'system_stm32f7xx.c'. 2018-08-20 23:40:47 +12:00
mikeller
b4db764b46 VTX improvements from iNav. 2018-08-20 23:26:57 +12:00
Michael Keller
43e6ea31da
Merge pull request #6517 from ctzsnooze/DynFiltV5
Dynamic Filter Update
2018-08-20 23:23:50 +12:00
Michael Keller
a365ecea17
Merge pull request #6083 from mikeller/make_beeper_conditions_consistent
Made beeper activation conditions consistent, updated comments.
2018-08-20 23:09:19 +12:00
Michael Keller
812d2c047e
Merge pull request #6599 from mikeller/add_3_5_release_notes
Added release notes for 3.5 to documentation.
2018-08-20 21:43:57 +12:00
Michael Keller
a835a1f735
Merge pull request #6600 from mikeller/more_flash_pruning
Removed features from SIRINFPV, STM32F3DISCOVERY to reduce firmware size.
2018-08-20 21:00:15 +12:00
Michael Keller
dca0f13692
Merge pull request #6598 from mikeller/fix_accelerometer_problems
Fixed problems with accelerometer.
2018-08-20 16:55:12 +12:00
mikeller
afd02613e3 Added release notes for 3.5 to documentation. 2018-08-20 16:46:15 +12:00
Michael Keller
1d63edf7c5
Merge pull request #6580 from jflyper/bfdev-fix-osd-flymode-precedence
OSD GPS RESCUE has display precedence over other modes except FS
2018-08-20 16:40:52 +12:00
mikeller
34875e4f27 Removed features from SIRINFPV, STM32F3DISCOVERY to reduce firmware size. 2018-08-20 16:40:37 +12:00
mikeller
6394cc275d Fixed problems with accelerometer. 2018-08-20 15:54:29 +12:00
Michael Keller
3ee16bd490
Merge pull request #6597 from mikeller/free_flash_space
Freed up flash space on FRSKYF3, RACEBASE, SPRACINGF3NEO.
2018-08-20 15:44:13 +12:00
mikeller
9e380471dd Freed up flash space on FRSKYF3, RACEBASE, SPRACINGF3NEO. 2018-08-20 15:11:06 +12:00
mikeller
47e4d3d68d Fixed warning. 2018-08-20 14:32:21 +12:00
ctzsnooze
759007214b remove PT1
warning:
In file included from ./src/main/sensors/gyro.c:1022:0:
./src/main/sensors/gyro_filter_impl.h: In function 'filterGyro':
./src/main/sensors/gyro_filter_impl.h:18:15: warning: variable 'gyroDataForAnalysis' set but not used
2018-08-20 12:15:05 +10:00
mikeller
b0ccb7ee47 Replaced non-functional 'STATIC_ASSERT' in 'system_stm32f7xx.c'. 2018-08-20 11:36:18 +12:00
Michael Keller
d816c19ca8
Merge pull request #6177 from atomgomba/feature-osd-log-status-element
New OSD element: Blackbox logging status
2018-08-20 10:52:55 +12:00
mikeller
37568a7078 Switched to using '_Static_assert'. 2018-08-20 10:50:06 +12:00
mikeller
70ac9423c7 Unified BUILD_BUG_ON and STATIC_ASSERT into STATIC_ASSERT. 2018-08-20 10:50:06 +12:00
mikeller
54dd79ac69 Removed duplicate definition of 'BUILD_BUG_ON'. 2018-08-20 10:50:06 +12:00
Michael Keller
bbf493ebae
Merge pull request #6591 from mikeller/switch_to_gnu11
Switch to GNU11 language standard.
2018-08-20 09:35:42 +12:00
ctzsnooze
3ddc1c5be6 fixes, initialise, avoid div by zero 2018-08-20 02:48:48 +10:00
ctzsnooze
db9bc90845 True Peak Detection 2018-08-20 00:33:11 +10:00
mikeller
9cd5bcd7a3 Fixed tests / SITL build. 2018-08-20 00:33:11 +10:00
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
Kiripolszky Károly
c70af5aaf0 improve status check for serial logging device 2018-08-19 11:21:07 +02:00
Kiripolszky Károly
75bcafb0f4 assume serial logging device always working 2018-08-19 10:56:01 +02:00
Kiripolszky Károly
6e33878af6 remove OSD_LOG_STATUS from unconditionally drawn elements 2018-08-19 10:56:01 +02:00
Kiripolszky Károly
c4a32160a7 fix OSD unittest for log status element 2018-08-19 10:22:07 +02:00
Kiripolszky Károly
ada8235470 add trailing comma 2018-08-19 10:22:07 +02:00
Kiripolszky Károly
c0e2ca3546 initial implementation of log status OSD element 2018-08-19 10:21:19 +02:00