1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-16 21:05:35 +03:00
Commit graph

14633 commits

Author SHA1 Message Date
Michael Keller
f16054624e
Merge pull request #7960 from mikeller/fix_gyro_detection_2
Fixed gyro detection some more.
2019-04-11 15:59:14 +12:00
mikeller
5000b385cc Fixed gyro detection some more. 2019-04-11 06:23:53 +12:00
Michael Keller
ee286ca1f4
Merge pull request #7944 from mikeller/update_readme
Added event for Betaflight 4.1 release to README.md.
2019-04-10 22:36:55 +12:00
Michael Keller
fc159764f1
Merge pull request #7942 from jflyper/bfdev-add-VECTAB-region-for-F446
[F446] Add VECTAB region
2019-04-10 22:35:59 +12:00
Michael Keller
e2996f03c7
Merge pull request #7939 from x4FF3/motoroutput
doc update and motor output change
2019-04-10 22:33:56 +12:00
Bruce Luckcuck
64ddbd9924 Change serial port config validation to require MSP on VCP port
Will hopefully reduce the number of cases where users incorrectly disable MSP on the VCP port and then can no longer connect.

Should be supplemented with changes to the configurator that prevents turning off MSP on the VCP port.
2019-04-09 14:47:58 -04:00
Bruce Luckcuck
40d195aeae Fix gyro/acc initialization when more than one MPU6000 (or MPU9250) sensor is connected
Logic was not expecting there to be multiple MPU6000's connected simultaneously. There are currently no boards manufactured with this config, but it's possible to do using boards that have an onboard MPU6000 and an external gyro box containing a second MPU6000.
2019-04-09 10:58:04 -04:00
mikeller
b34a27623e Added event for Betaflight 4.1 release to README.md. 2019-04-09 22:45:17 +12:00
Michael Keller
2b79f2b1a4
Merge pull request #7937 from TonyBlit/altitude_alarm_fix
Avoid altitude to blink if its value exceeds the alarm threshold when…
2019-04-09 21:57:12 +12:00
jflyper
9d3956fc63 Add MCO2 output support for F4 2019-04-09 11:20:52 +09:00
jflyper
db39f9a800 Add VECTAB region for F446 2019-04-09 11:12:44 +09:00
Michael Keller
9d027275e2
Merge pull request #7934 from etracer65/cli_vtx_command_help
Add missing help text for CLI vtx command
2019-04-09 10:53:00 +12:00
david
443ca5d144 doc update and motor output change 2019-04-08 21:38:22 +02:00
Bruce Luckcuck
acf0af7790 Add DUAL_GYRO_SCALED debug mode to capture raw scaled roll/pitch from each gyro
Data is before the filters but scaled to 0-2000dps.

debug(0) = gyro 1 roll
debug(1) = gyro 1 pitch
debug(2) = gyro 2 roll
debug(3) = gyro 2 roll
2019-04-08 10:26:11 -04:00
Bruce Luckcuck
e2b5fc24bd Refactor dshot command output scheduling logic
Change to a state machine that tracks the progress of each dshot command in the queue as it moves through the various phases. Simplifies the code to make it easier to understand and maintain.

Transition to timing based on motor output cycle counts calculated from desired delays instead of using direct time comparisons. Since the output timing is always based on the motor update schedule, there were cases where if the time between motor updates was a significant percentage of the desired dshot command timing, then the output could get irregular and skip cycles (for example trying to use 2K pid loop with 500us timing conflicting with 1ms timing between dshot command outputs).
2019-04-08 08:19:38 -04:00
Michael Keller
616b476bb9
Merge pull request #7933 from mikeller/add_flywoof411_to_4_0
Added target FLYWOOF411 to 4.0.
2019-04-08 22:51:01 +12:00
Michael Keller
da67361613
Merge pull request #7932 from mikeller/add_kakutef7mini_to_4_0
Add target KAKUTEF7MINI to 4.0. Also add Unified Target configuration.
2019-04-08 22:50:23 +12:00
Michael Keller
2469fce9d2
Merge pull request #7931 from mikeller/add_ff_racepit_to_4_0
Added target FF_RACEPIT to 4.0.
2019-04-08 22:49:48 +12:00
Michael Keller
065836637c
Merge pull request #7930 from mikeller/add_rushcore7_to_4_0
Added target RUSHCORE7 to 4.0.
2019-04-08 22:49:11 +12:00
Michael Keller
0611a3eab6
Merge pull request #7929 from etracer65/fix_dshot_command_output
Fix erroneous dshot motor frame between multiple queued dshot commands at arming
2019-04-08 22:48:23 +12:00
Tony Cabello
16eda6e203 Avoid altitude to blink if its value exceeds the alarm threshold when not armed, as it's showing altitude over sea level instead of flight altitude. 2019-04-08 06:37:08 +02:00
Bruce Luckcuck
2634d75528 Add missing help text for CLI vtx command 2019-04-07 09:27:57 -04:00
Krzysztof Matula
eb99c7e0d1 stats:
- cosmetic changes from code review
- not enabling stats on any F3 (not enough flash)
2019-04-07 12:09:28 +02:00
Michael Keller
95244a56f7 Merge pull request #7338 from nyway/3.5.x-maintenance
Add new target RUSHCORE7

Added target RUSHCORE7 to 4.0.
2019-04-07 20:59:56 +12:00
Michael Keller
a3591aa465 Merge pull request #7344 from AlienWiiBF/FF_RACEPIT_3.5.x
Support for FuriousFPV RacePit flight controller

Added target FF_RACEPIT to 4.0.

FuriousFPV Racepit configuration update
2019-04-07 20:58:10 +12:00
Michael Keller
b60d133586 Merge pull request #7662 from flywoo/3.5.x-maintenance
Add new target FLYWOOF411 board
2019-04-07 20:52:51 +12:00
Michael Keller
5b76f84b9a Merge pull request #7715 from jamming/3.5.x-maintenance
add a new target KakuteF7mini
2019-04-07 20:39:15 +12:00
Bruce Luckcuck
27e4dddeef Fix erroneous dshot motor frame between multiple queued dshot commands
In the case of multiple queued non-blocking dshot commands, a single motor command frame would get erroneously sent in the idle time between the commands when arming. This change contains some workarounds to prevent this behavior.
2019-04-06 20:40:53 -04:00
Michael Keller
f67999f5d9
Merge pull request #7921 from mikeller/add_foxeerf722_unified_target
Added Unified Target configuration for FOXEERF722DUAL and manufacturer id.
2019-04-07 11:06:36 +12:00
Krzysztof Matula
fea686f2b5 enable stats only on targets with > 256M flash 2019-04-06 22:24:24 +02:00
Krzysztof Matula
a0b410b902 unit tests update 2019-04-06 21:14:17 +02:00
Krzysztof Matula
36c8f1e224 Flight statistics (odometer) added.
Supported counters:
- total flights count
- total flight time
- total flight distance (if GPS available)
2019-04-05 23:43:09 +02:00
mikeller
760a524027 Fixed tests, added crash indication. 2019-04-05 08:39:23 +13:00
mikeller
247f759652 Added 'disarm' option to crash recovery. 2019-04-04 22:40:00 +13:00
Michael Keller
22b9f34532
Merge pull request #7919 from codecae/cms_flag_fix
Updated CMS to pass flags by reference into cmsDrawMenuEntry
2019-04-04 01:43:28 +13:00
Michael Keller
2eb8762d6f
Merge pull request #7918 from etracer65/unify_lowpass_settings
Unify lowpass settings regardless of whether USE_DYN_LPF is defined
2019-04-04 01:42:02 +13:00
Michael Keller
d0deea94a9
Merge pull request #7914 from mikeller/fix_gyro_detection
Fixed gyro detection for multi gyro setups.
2019-04-04 01:32:49 +13:00
mikeller
88963d6ee8 Added Unified Target configuration for FOXEERF722DUAL and manufacturer id. 2019-04-04 01:28:04 +13:00
mikeller
e44f75b4a7 Fixed gyro detection for multi gyro setups. 2019-04-04 00:39:55 +13:00
Michael Keller
d0d99f68a0
Merge pull request #7913 from LexioTech/SYNERGYF4-target-including-new-config
SYNERGYF4 updated target for  4.0 and unified targets
2019-04-03 23:44:51 +13:00
Michael Keller
cb916a93e3
Merge pull request #7912 from mikeller/add_klee_manufacturer_id
Added 'KLEE' / Kevin Lee (WhitenoiseFPV) manufacturer id.
2019-04-03 21:36:02 +13:00
Michael Keller
0913a73567
Merge pull request #7911 from elin-neo/elinf722_udpate_190327
Edit typos - ElinF722 doc
2019-04-03 21:35:44 +13:00
Bruce Luckcuck
96ee9e3103 Unify lowpass settings regardless of whether USE_DYN_LPF is defined
Defaults will be the same regardless of whether the target has `USE_DYN_LPF` included. Previously the defaults would vary and it wouldn't be obvious why.

Defaults are as follows:
gyro lowpass 1: 150/BIQUAD
gyro lowpass 2: OFF
dterm lowpass 1: 150/BIQUAD
dterm lowpass 2: 150/BIQUAD

Nothing has changed int eh dynamic lowpass logic. If it's enabled those settings will be used in place of the static lowpass cutoff.

Needs coordination with the Configurator to change the defaults used when re-eanbling the lowpass filters as they are currently based on previous version settings and will dfault to inappropriate values.
2019-04-02 20:18:19 -04:00
Curtis Bangert
94102cc798 Updated CMS to pass flags by reference into cmsDrawMenuEntry 2019-04-02 12:41:09 -04:00
74aa50705b Merge remote-tracking branch 'upstream/master' 2019-04-02 16:38:32 +02:00
056535e498 changes to vtx cli command:
- add option for power
 - set band, channel or power to 0 to leave it unchanged
 - added short help text to cli
2019-04-02 16:37:29 +02:00
Lexio
96c21e846d SYNERGYF4 updated target for 4.0 and unified targets
Updated the existing 3.5.x maintenance branch SYNERGYF4 target to be 4.0 and unified target compatible.

Including:
- Legacy target for 4.0
- Unified target for future releases
- Documentation
2019-04-02 12:42:47 +02:00
mikeller
0c17ff708a Added 'KLEE' / Kevin Lee (WhitenoiseFPV) manufacturer id. 2019-04-02 21:08:29 +13:00
Michael Keller
dcb34d3761
Merge pull request #7906 from mikeller/add_jhef7dual_target_4_0
Add target JHEF7DUAL to 4.0.
2019-04-02 20:45:49 +13:00
elin-neo
5ac14fbc2e fix miss type 2019-04-02 11:16:02 +09:00