Commit Graph

13905 Commits

Author SHA1 Message Date
jflyper 22dd78f247 [CMSIS] stm32h743xx.h: FLASH_SIZE def collide with Betaflight 2019-04-25 12:01:42 +09:00
jflyper 1db881f595
Merge pull request #8058 from jflyper/bfdev-h7-import-library
[H7 LIB] Import STM32Cube_FW_H7_V1.3.0
2019-04-24 20:41:47 +09:00
Michael Keller ee0ac209c3
Merge pull request #8029 from Doven7/patch-3
Add target HGLRCF411 to 4.0.
2019-04-24 10:34:06 +12:00
MJ666 94ddf5aceb
Merge pull request #8044 from Docteh/move_the_configs
move configs to proper spot
2019-04-21 13:49:57 +02:00
jflyper 5f15f58aa6 Import STM32Cube_FW_H7_V1.3.0 2019-04-21 18:39:03 +09: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
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
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
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
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 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 0e5b9cdd5c Prevent crashing when OSD timers are configured incorrectly. 2019-04-15 00:26:52 +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
Michael Keller b4286c6ac9
Merge pull request #7935 from etracer65/dshot_command_packet_sequence
Refactor dshot command output scheduling logic
2019-04-14 23:25:33 +12:00
Michael Keller 1d5647e07f
Merge pull request #7995 from Docteh/unified_config_fix
Allocating OSD_CS resource for MATEKF411 unified config
2019-04-14 23:12:25 +12:00
Michael Keller 1f08a8f5e5
Merge pull request #7993 from etracer65/osd_vario_wedge
Fix OSD crash if vario element is enabled but not supported by target
2019-04-14 23:11:25 +12:00
Michael Keller 19aa7387f9
Merge pull request #7984 from ctzsnooze/Allow-lower-dynamic-notch-minimum
set dyn_notch_min_hz minimum to 60hz
2019-04-14 23:10:56 +12:00
Michael Keller c72afc790f
Merge pull request #7950 from etracer65/fix_mpu6000_multi_gyro_init
Fix gyro/acc initialization when more than one MPU6000 (or MPU9250) sensor is connected
2019-04-14 22:59:01 +12:00
Nicola De Pasquale 3a282d1d3e improve landing altitude
fix some comments

some requested fixes

initialLandingAltitude converted in meters

removed landing altitude setting from msp, added missing comma

re-added gps_rescue_landing_alt in settings.c

made target landing distance configurable, renamed descentDistance

added slow down distance and improved return speed

changed newSpeed formula

moved newSpeed variable in gps rescue inizialization phase

newSpeed declared as int32_t

modified slow down distance to constant

added some comments

fix type-casting bug

removed extra space

changed slow down distance for better landing

changed default targetLandingAltitudeM to 5 meters
2019-04-14 12:17:19 +02:00
Michael Keller 7d86cd6523
Merge pull request #7986 from ianrmurphy/add-rate-limits-to-msp
Added rate limit settings to MSP API 1.42 for configurator.
2019-04-14 21:52:05 +12:00