Commit Graph

12145 Commits

Author SHA1 Message Date
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 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
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
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
mikeller 581628eeb4 Switch to GNU11 language standard. 2018-08-19 10:33:32 +12:00
Michael Keller 40a4ab77fe
Merge pull request #6588 from mikeller/remove_features_f3
Removed features from SPRACINGF3, RMDO to make the firmware fit into flash.
2018-08-19 03:04:43 +12: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
Michael Keller 87fc4148ef
Merge pull request #6205 from AirBreak69/GPS_altitude_cleanup_to_source_in_cm
GPS altitude: cleanup all occurrencies to assume source is cm per lsb
2018-08-19 00:58:22 +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
Michael Keller bbdd717505
Merge pull request #6585 from mikeller/fix_gps_rescue_msp
Fixed GPS rescue MSP.
2018-08-18 15:31:43 +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
jflyper 00d3f2217a GPS RESCUE has display precedence over other modes except FS 2018-08-17 23:31:03 +09: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