1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-15 12:25:20 +03:00
Commit graph

14067 commits

Author SHA1 Message Date
jerryxin123
fcc23b3888 Change sbusNeedTimePreFrame to sbusTimeNeededPreFrame 2019-04-20 19:39:59 +08:00
root
60ca3dcb46 move configs to proper spot 2019-04-19 06:13:09 +00:00
Michael Keller
eba5856654
Merge pull request #8035 from krzysztofmatula/km-sym-amp
OSD: use nice AMP symbol in post flight stats instead of ordinary "A"
2019-04-19 14:04:42 +12:00
Michael Keller
4dfe12c266
Merge pull request #8033 from hydra/bf-really-fix-gyro-detection-in-multi-gyro-setups
Really fix gyro detection code code for multi gyro setups.
2019-04-19 14:00:02 +12:00
Doven
052d2d004f
Rename HGLRCF411.config to unified_targets/configs/HGLRCF411.config 2019-04-19 09:57:28 +08:00
Michael Keller
403168f7f4
Merge pull request #8027 from Doven7/patch-2
Add target HGLRCF405 to 4.0.
2019-04-19 13:51:15 +12:00
Michael Keller
380889912f
Merge pull request #8025 from etracer65/osd_stats_maximize_lines
Maximize OSD stats display lines based on video mode
2019-04-19 13:50:04 +12:00
ctzsnooze
80f5fa2c6d For Discussion: modify filter defaults to reduce risk of flyaways
Some users have reported flyaways on arming/throttling up with betaflight 4.0, in quads that fiy alright on 3.5.
This PR changes the default filtering so that D transmission more closely approximates that of 3.5.
With these defaults, quads that fly OK on 3.5 should not take-off vertically due to uncontrolled D oscillation.
2019-04-19 11:48:44 +10:00
Michael Keller
655b82d379
Merge pull request #8016 from krzysztofmatula/km-timer-safety-checks
OSD timers safety checks
2019-04-19 13:43:38 +12:00
Michael Keller
45daf97f2b
Merge pull request #8010 from TonyBlit/fix_fs_flymode
Replaced !FS! fly mode with *FS* due to missing '!' in OSD font
2019-04-19 13:40:07 +12:00
Michael Keller
edcacb9f0d
Merge pull request #7994 from krzysztofmatula/km-on-arm-timer
OSD: combined ON/ARM timer
2019-04-19 13:38:56 +12:00
swilkens
794f4a93e9
[Docs] Further update Building in Windows
Restructured, further clarified and added the make_sdk_install script option.

I will update the pictures and other references in a future PR
2019-04-18 14:20:48 +02:00
Krzysztof Matula
00d9b0bb50 OSD: use nice AMP symbol in post flight stats instead of ordinary "A" 2019-04-17 22:38:56 +02:00
Dominic Clifton
67bd97b193 Really fix gyro detection code code for multi gyro setups.
Broken in e44f75b4a7.

Problem caused by not checking both of the bits after masking.

Prior to this commit the code would incorrectly attempt to use GYRO1
when only GYRO2 was detected resulting in a segfault.
2019-04-17 15:31:08 +02:00
laz2wiringpi
0a1d2a6997 from the pr
delay for voltage warnings #6691

changed to vbat
Update Battery.md
Add Menu osd Alarm delay

vbat_duration_for_crit
batteryConfig_vbatDurationForCrit
to
 vbat_duration_for_critical
batteryConfig_vbatDurationForCritical

lastVoltageOkMillis rename
2019-04-16 18:31:09 -04:00
Michael Keller
55a5d70cc8
Merge pull request #7841 from etracer65/dshot_bidir_quality_stats
Add DSHOT telemetry motor level packet stats
2019-04-17 06:38:45 +12:00
Michael Keller
f7fa2ff27b
Merge pull request #8020 from mikeller/fix_feature_cli_help
Fixed CLI help for 'feature'.
2019-04-17 05:57:40 +12:00
Michael Keller
1c4d733ded
Merge pull request #7859 from laz2wiringpi/gps_menu
Gps rescue menus for OSD
2019-04-17 05:50:38 +12:00
Michael Keller
db5c14da02
Merge pull request #8017 from ianrmurphy/rssi-lq-warnings
Added RSSI and Link Quality warnings
2019-04-17 05:49:27 +12:00
Bruce Luckcuck
644d5713df Add DSHOT telemetry motor level packet stats
Captures packet quality statistics per motor to provide a platform for troubleshooting and in-flight alarms or warnings.

Continuously monitors and captures packet stats over the past second to be used to determine DSHOT telemetry link quality.

Update the CLI to move the DSHOT telemetry data/stats out of the `status` command and into a dedicated `dshot_telemetry_info` command. Reformatted the motor data to include the invalid packet percentages. Will aid in debugging by identifying ESC's that may be misconfigured (not supplying data), or those with problems generating high invalid packet percentages.

Data can later be used to generate OSD and beeper-based warnings if invalid packet percentages exceed thresholds.

Included a blackbox logging debug mode (`set debug_mode = DSHOT_RPM_ERRORS`) to record the per-motor invalid packet percentages in hundredths of a percent (so 123 is 1.23%).
2019-04-16 08:47:50 -04:00
Doven
fe26821c31
HGLRCF411.config 2019-04-16 17:14:38 +08:00
Doven
83718e9309
HGLRCF405.config 2019-04-16 11:32:43 +08:00
Tony Cabello
b9360eef4e Simplified logic for recovery delay 2019-04-16 04:27:23 +02:00
Bruce Luckcuck
00c3a5d1b4 Maximize OSD stats display lines based on video mode
Will dynamically determine the number of active OSD stats lines that are being displayed (accounting for user selections and #define logic) and maximize the number of stats that can be displayed based on the current video format (13 for NTSC, 16 for PAL).

If the number of stats is equal to or greater than the available display lines, the heading will be suppressed and used instead for an extra stats line.

The entire stats page will be centered vertically based on the screen size determined by the video format.
2019-04-15 20:02:07 -04:00
ianrmurphy
0ab0fb75ff Corrected whitespace. 2019-04-15 23:32:20 +01:00
Krzysztof Matula
5a737fd778 OSD timers safety - code review changes 2 2019-04-15 23:28:32 +02:00
Krzysztof Matula
b8b5b133dc OSD timers safety - code review changes 2019-04-15 23:25:58 +02:00
Krzysztof Matula
560f43a9dd undo unnecessary change 2019-04-15 19:29:03 +02:00
Krzysztof Matula
8103d55c7d odometer on post flight screen - code review 2019-04-15 19:25:40 +02:00
Krzysztof Matula
078e7fc0a5 improved fix 2019-04-15 19:05:30 +02:00
Krzysztof Matula
e256639909 OSD timers safety checks 2019-04-15 18:57:49 +02:00
Krzysztof Matula
a56ac05303 Revert "Prevent crashing when OSD timers are configured incorrectly."
This reverts commit db2f3641c92a7db1aec93581592861860f292b23.
2019-04-15 18:57:36 +02:00
laz2wiringpi
22485e3e6e GPS Rescue cms menu 2019-04-15 10:33:38 -04:00
mikeller
9dbe140d28 Fixed CLI help for 'feature'. 2019-04-16 00:25:15 +12:00
Michael Keller
01e0c95810
Merge pull request #7952 from jirif/vbat_digits
Show only 3 significant digits in vbat OSD element
2019-04-16 00:17:23 +12:00
Michael Keller
edb7ca36d8
Merge pull request #7749 from blckmn/string_set
Adding string settings
2019-04-15 23:55:30 +12:00
ianrmurphy
8dc1befab1 Corrected parameter ordering, no MSP. 2019-04-15 12:33:47 +01:00
Michael Keller
ddd504161a
Merge pull request #7963 from Doven7/patch-1
Add target HGLRCF745 to 4.0. Also add Unified Target configuration.
2019-04-15 23:25:19 +12:00
blckmn
4cb1f6509c Adding ability to specify a string as an option in the SET / GET setup 2019-04-15 14:52:10 +10:00
Doven7
07ab10b58a
HGLRCF745.config 2019-04-15 10:34:00 +08:00
ianrmurphy
11dd4e7598 Added warnings for RSSI and Link Quality, added Link Quality alarm. 2019-04-15 00:24:20 +01:00
Krzysztof Matula
e153a6abab osd unit tests update 2019-04-15 01:10:05 +02:00
Krzysztof Matula
0e5b9cdd5c Prevent crashing when OSD timers are configured incorrectly. 2019-04-15 00:26:52 +02:00
Krzysztof Matula
cd0e90fdde OSD: allow to present odometer on post flight screen 2019-04-14 23:34:09 +02:00
Tony Cabello
0a38ef67b4 Added a missing USE_GPS_RESCUE 2019-04-14 19:07:05 +02:00
Tony Cabello
e276976b28 Replaced !FS! fly mode with *FS* due to missing exclamation mark in OSD font 2019-04-14 18:17:22 +02:00
jirif
5d30b3f437 Show only 3 significant digits in vbat OSD element 2019-04-14 15:41:44 +02:00
Michael Keller
eb7e6c0b39
Merge pull request #7838 from IllusionFpv/gps-rescue-improve-landing-approach
Improve target landing altitude in gps-rescue
2019-04-15 00:29:15 +12:00
Tony Cabello
7480552a62 USE_GPS_RESCUE condition is now used in failsafe.c 2019-04-14 14:15:17 +02:00
Tony Cabello
d829563179 GPS Rescue procedure can be aborted by moving sticks, with a configurable delay after recovering rx 2019-04-14 14:15:17 +02:00