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

12294 commits

Author SHA1 Message Date
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
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
ianrmurphy
8dc1befab1 Corrected parameter ordering, no MSP. 2019-04-15 12:33:47 +01: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
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
mikeller
567175ac4d Re-enabled VTX table support. 2019-04-14 23:48:37 +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
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
Michael Keller
3cc7165cc5
Merge pull request #7953 from etracer65/require_msp_on_vcp_port
Change serial port config validation to require MSP on VCP port
2019-04-14 21:50:46 +12:00
Michael Keller
f5cd3d921c
Merge pull request #7941 from jflyper/bfdev-f4-mco-support
Add MCO2 output support for F4
2019-04-14 21:50:23 +12:00
Michael Keller
e12b802bb1
Merge pull request #7927 from krzysztofmatula/km-odometer
Flight statistics (odometer) added.
2019-04-14 21:49:31 +12:00
Michael Keller
b468b94995
Merge pull request #7924 from mikeller/add_crash_recovery_disarm
Added 'disarm' option to crash recovery.
2019-04-14 21:49:05 +12:00
Michael Keller
739694ac62
Merge pull request #7858 from etracer65/debug_dual_gyro_scaled
Add DUAL_GYRO_SCALED debug mode to capture raw scaled roll/pitch for each gyro
2019-04-14 21:46:08 +12:00
Michael Keller
ef94b5f077
Merge pull request #7843 from stawiski/warnings-fix
Fixed warnings.
2019-04-14 21:45:37 +12:00
Michael Keller
2ce3a923e3
Merge pull request #7839 from hydra/bf-fix-duplicate-transponder-enable
Fix duplicate transponder task enable attempt.
2019-04-14 21:37:03 +12:00
Michael Keller
c3d828e4b4
Merge pull request #7737 from joelucid/remove_ff
remove smart_feedforward
2019-04-14 21:32:39 +12:00
Michael Keller
65603e49a2
Merge pull request #7621 from betaflight/bf-allow-compilation-with-no-serial-ports
Allow compilation of the printf code when no serial ports are used.
2019-04-14 21:31:31 +12:00
Michael Keller
5a67eb8c1e
Merge pull request #7626 from hydra/bf-move-memory-section-initialisation
Move memory section initialisation earlier into the init sequence.
2019-04-14 21:26:34 +12:00