Commit Graph

12327 Commits

Author SHA1 Message Date
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
Michael Keller 43159e95af
Merge pull request #6540 from AlienWiiBF/FortiniF4_update
Fortini F4 Rev3 CAM control update
2018-08-11 15:18:36 +12: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 f757314c39 changer_2 2018-08-10 16:48:47 +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 da3bf2884e Revert "change_1"
This reverts commit 9494a26231.
2018-08-10 15:35:08 +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 92d3b7ca6f GPS support via MSP 2018-08-08 09:49:36 -04:00
Michael Keller 946cbd257f
Merge pull request #6525 from etracer65/beacon_delayed_arming_state
Capture and use crash flip if set initially when arming is delayed due to beacon
2018-08-08 22:59:41 +12: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
Bruce Luckcuck 3dae764b0e Capture and use crash flip if set initially when arming is delayed due to beacon
Previously if arming was delayed due to DSHOT beacon then the arming type (normal or crash-flip) would be captured *after* the delay. This change captures the state on entering the delay which more accurately represents the pilot's intent.

For example, the pilot may have crash-flip on a momentary switch that's initially set when the arming switch is enabled. Previously if the pilot didn't hold the momentary switch through the entire delay the quad would arm in normal mode. This change uses the state when the arming switch first enables so even if the momentary crash-flip switch is released the quad will still arm in crash-flip mode.
2018-08-06 15:41:05 -04:00
Markus Jevring 131d46c850 Enable using the 'heading' field in MAVlink to display mAh used 2018-08-06 20:26:41 +02:00
Michael Keller efb340f4c6
Merge pull request #6513 from mikeller/fix_crsf_altitude
Fixed altitude display with CRSF telemetry.
2018-08-06 23:01:49 +12:00
ctzsnooze 249ee2b309 comma 2018-08-06 20:59:46 +10:00
Michael Keller f305feb797
Merge pull request #6516 from mikeller/fix_extra_esc_sensors
Fixed reporting of extended ESC sensor data in SmartPort.
2018-08-06 22:46:16 +12:00
Michael Keller 1e8dc23efe
Merge pull request #6523 from loopur/baro_test
Modify the compile error from variable definition
2018-08-06 22:43:14 +12:00
loopur d8e373f823 Modify the compile error from variable definition 2018-08-06 16:22:36 +08:00
Alex Wolf 096457fcd4 VTX LUA support for external VTX devices 2018-08-05 21:40:49 -04:00
ctzsnooze 67abb63d95 Set default iterm relax to RP and RC smoothing to filter 2018-08-06 10:01:59 +10:00
Michael Keller 348508ce9f Fixed syntax error. 2018-08-06 08:40:31 +12:00
Michael Keller 6e718b504a Fixed tests. 2018-08-06 08:37:26 +12:00
mikeller c54aba77f1 Fixed reporting of extended ESC sensor data in SmartPort. 2018-08-05 11:57:07 +12:00
mikeller 11bce91d88 Fixed altitude display with CRSF telemetry. 2018-08-04 19:28:34 +12:00
Michael Keller d0a9a0fd93
Merge pull request #6503 from McGiverGim/cms_throttle_boost
Fix CMS Throtle Boost
2018-08-02 13:12:23 +12:00
Michael Keller b979cb2ea4
Merge pull request #6485 from etracer65/dyn_filter_2k
Fix dynamic filter for gyro loop < 4K
2018-08-02 13:10:26 +12:00
Michael Keller 1f1dd981bd
Merge pull request #6484 from etracer65/disable_dynfilter_below_2k
Disable DYNAMIC_FILTER feature if gyro loop is less than 2KHz
2018-08-02 13:07:28 +12:00
Bruce Luckcuck 382ad2ad8f More changes from review & rebase
Simplified disable logic to only use the feature() check in the gyro loop.

Changed 2000hz loop time constant to a define.
2018-08-01 12:20:32 -04:00
Bruce Luckcuck 9ba89f6da0 Changes from review
Revise and simplify initialization logic and avoid unneeded code if USE_DUAL_GYRO is not defined.

Corrected double constant to float.

Split centerFreq filter apply and constrain into separate statements.
2018-08-01 12:12:44 -04:00
Miguel Angel Mulero Martinez db133032a6 Fix CMS Throtle Boost 2018-08-01 16:00:32 +02:00
Michael Keller bf1c5729cc
Merge pull request #6473 from mikeller/enable_nucleof722_sdio
Enabled SDIO on NUCLEOF722.
2018-08-01 19:08:10 +12:00
Michael Keller 0b9b9f07f4
Merge pull request #6501 from mikeller/remove_omnibus_feature
Removed feature LED_STRIP from OMNIBUS to make it fit into flash.
2018-08-01 19:07:29 +12:00
mikeller 5f6aaa3630 Removed feature LED_STRIP from OMNIBUS to make it fit into flash. 2018-08-01 18:28:12 +12:00
Richard Cooper 23d7180da3 Use glyphs from default.mcm 2018-07-31 20:08:02 +01:00
Richard Cooper 516483ee64 Tidy up symbols.h and add docs for osd font 2018-07-31 19:35:01 +01:00
Bruce Luckcuck 25c6b038d9 Changes from review
Used HZ_TO_INTERVAL_US() instead of hardcoded 500us.

Moved tests into a dedicated function.
2018-07-31 10:37:01 -04:00
Bruce Luckcuck f411b82eb6 Disable DYNAMIC_FILTER feature if gyro loop is less than 2KHz
The dynamic filter is not usefull with gyro loop times less than 2KHz so disable the feature and prevent the code from running in this circumstance.

In `isDynamicFilterActive()` we can't just rely on the feature because the feature will be disabled after the gyro has initialized and is running - possibly running into the underflow/wedging problem. And unfortunately we can't disable the feature earlier because we need to know the `targetLooptime` which is determined during gyro init.
2018-07-31 10:37:01 -04:00
Bruce Luckcuck f252b09fdb Fix dynamic filter for gyro loop < 4K
For gyro loops from 2K to < 4K scale the FFT_SAMPLING_RATE_HZ to ensure we get 3 samples.

Also constrain the `centerFreq` result from the lowpass to ensure it doesn't overshoot beyond the min/max notch center cutoff.
2018-07-31 08:59:27 -04:00
Michael Keller 45002a803e
Merge pull request #6496 from McGiverGim/cms_throttle_boost
Add Throttle Boost to CMS
2018-07-31 23:59:21 +12:00
Michael Keller a8b3ad9745
Merge pull request #6497 from mikeller/remove_target_features
Removed more features from F3 to make it fit.
2018-07-31 22:04:54 +12:00