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

98 commits

Author SHA1 Message Date
Michael Keller
b5b18863dc
Fix GPS coordinate in the OSD between 0 and -1 (#8374)
Fix GPS coordinate in the OSD between 0 and -1
2019-06-06 01:33:16 +12:00
Miguel Angel Mulero Martinez
a12f425325 Fix GPS coordinate in the OSD between 0 and -1 2019-06-04 16:47:18 +02:00
mikeller
75b1c0d4ce Removed 'slots' from the adjustment range configuration. 2019-06-05 00:56:37 +12:00
Miguel Angel Mulero Martinez
97d87bd16b Change the home symbol to free the triangle character in OSD 2019-06-03 11:39:48 +02:00
Miguel Angel Mulero Martinez
ba99bdae21 Remove second symbol in the Throttle OSD element 2019-06-03 08:44:45 +02:00
Miguel Angel Mulero Martinez
26f5c02331 Make OSD Speed fixed length 2019-05-30 19:18:47 +02:00
Miguel Angel Mulero Martinez
1dc7cd24ba Use the new Speed and Total Distance OSD symbols 2019-05-27 20:01:03 +02:00
Michael Keller
339621ced3
Move the Altitude alignment left in the OSD (#8339)
Move the Altitude alignment left in the OSD
2019-05-25 22:30:19 +12:00
Miguel Angel Mulero Martinez
f27a93b767 Move the Altitude alignment left in the OSD 2019-05-24 09:51:51 +02:00
pkruger
b8a9e46a8d
Merge branch 'master' into 8107-osd-profile-names 2019-05-22 21:58:36 +10:00
laz2wiringpi
15c25520e3 add missing code
cleanup space(s)
comment 
move define define in post  add to pre
2019-05-21 16:40:21 -04:00
pkruger
9ae53d94d0
Merge branch 'master' into 8107-osd-profile-names 2019-05-21 21:22:50 +10:00
laz2wiringpi
c1510c9f27 USE_RX_RSSI_DBM Split from pr 8042
rssi dbm osd negitive values
rename max to min
2019-05-20 22:19:04 -04:00
laz2wiringpi
e9a406f447 Link Quality without Aux
fix indent , move unused
remove premature optimisation
Use prior code for osd element calc
unit test add crsf for scaleCrsfLq
unittest typo
rx 0-100
elements simplify osdElementLinkQuality refactor
share  one 16 bit var
2019-05-20 18:10:37 -04:00
Pieter Kruger
28182706a4 Add OSD profile names feature 2019-05-19 10:50:22 +10:00
Bruce Luckcuck
d62a4f4b18 Add tenths of a second OSD timer precision option
Currently the timers support full second and hundredth of a second display precision. This adds a tenth of a second option.
2019-05-17 14:25:30 -04:00
Miguel Angel Mulero Martinez
ea6505fecf Remove the old erasing code in the OSD Home Distance 2019-05-11 08:36:17 +02:00
Miguel Angel Mulero Martinez
5afcb0985c Use distance to home symbol into the OSD 2019-05-10 11:58:15 +02:00
Bruce Luckcuck
f5bc673ada Revise PID/Rate profile names to use get/set and eliminate extra PG's
Removes the custom CLI commands to update or display the PID and Rate profile names. Moves the storage into the pidProfile and controlRateProfile PG's.

Names can now be set with:
set profile_name = NAME
set rate_profile_name = NAME

Also added profile name display to the profile and rate CMS menus.
2019-05-08 09:03:31 -04:00
Michael Keller
a8f6ea0b72
Add PID and Rate profile names, osd elements and cli config (#7696)
Add PID and Rate profile names, osd elements and cli config
2019-05-07 20:04:39 +12:00
Michael Keller
011aeb66a6
Moved 'rpm_filter' into 'flight'. (#8186)
Moved 'rpm_filter' into 'flight'.
2019-05-07 00:40:48 +12:00
Pieter Kruger
de5a54a19a Add PID and Rate Profile names 2019-05-06 22:02:33 +10:00
Michael Keller
3651bbc03a
Added altitude symbol in OSD. (#8184)
Added altitude symbol in OSD.
2019-05-06 22:49:26 +12:00
Michael Keller
9886391934
Made temperature OSD display consistent. (#8159)
Made temperature OSD display consistent.
2019-05-06 01:13:12 +12:00
mikeller
5141bbfa94 Moved 'rpm_filter' into 'flight'. 2019-05-06 00:10:31 +12:00
mikeller
05f5449d04 Made temperature OSD display consistent. 2019-05-05 22:30:07 +12:00
mikeller
bd03951ca4 Added altitude symbol in OSD. 2019-05-05 22:26:53 +12:00
mikeller
3c7a495716 Changed failsafe warning back to '\!FS\!'. 2019-05-04 22:47:30 +12:00
Michael Keller
5ab38e24f2
remove extra spaces in src/main/osd/osd_elements.c (#8147)
remove extra spaces in src/main/osd/osd_elements.c
2019-05-04 14:55:47 +12:00
laz2wiringpi
a4fcceb04b code style issues 2019-05-02 09:51:32 -04:00
root
6885d27400 comment out unused symbols, use some symbols
Also turns out the Core Temperature widget is subjected to unit tests
2019-05-01 22:17:56 +00:00
root
a8a997fb59 Add new symbols to max7456_symbols.h
Fixes the crosshair
Also changed GPS LAT and LON elements to use new symbols
2019-05-01 00:12:45 +00: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
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
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
11dd4e7598 Added warnings for RSSI and Link Quality, added Link Quality alarm. 2019-04-15 00:24:20 +01: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
Krzysztof Matula
24bf8050c1 OSD: combined ON/ARM timer 2019-04-12 22:41:22 +02:00
Bruce Luckcuck
3f0fe85b98 Fix OSD crash if vario element is enabled but not supported by target
Missing `#ifdef USE_VARIO` around the element definition.
2019-04-12 15:52:47 -04: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
138f403204 Fix OSD stats alignment and formatting
Fixes the alignment and formatting of the following stats:
* Max altitude
* Max speed
* Max ESC temperature
2019-03-26 13:37:21 -04:00
Michael Keller
92ed1be027
Merge pull request #7730 from TonyBlit/fix_resc_off
Fix timed GPS RESCUE OFF message condition
2019-03-09 21:52:49 +13:00
Tony Cabello
e279420dd7 Fix RESCUE OFF message timed condition and literal.
Changed RESCUE N/A message literal to be coherent with RESCUE OFF.
2019-03-08 15:17:39 +01:00
jack
45a35eb42d adding rpm and rpm frequency for each motor to osd. It uses either Bidirectional Dshot or ESC telemetry to work out the rpm. Bidirectional Dshot takes precedency over ESC telemetry. 2019-03-07 20:51:43 +11:00
Bruce Luckcuck
4a13c48adf Fix OSD active elements init logic to handle delayed items with delayed activation
Track the state of `sensors(SENSOR_GPS)` and rebuild the active OSD element list when it changes. The GPS sensor can have delayed activation or even deactivate if communication is lost with the module.

Also move the `BOXBLACKBOX` check from the initialization to the runtime element drawing as it can also change in flight.
2019-02-23 18:21:59 -05:00
Bruce Luckcuck
30672a37c5 Refactor OSD element display code
Remove the giant `select` block that contained all the code to generate the elements and transition them to individual functions called only when the element is active. Simplifies the code and results in a performance improvement as it's not necessary to fall through the large `select` statement for every element that will be drawn. The individual functions and the element to function mapping are moved to a new `osd_elements.c` file.

Moved the OSD related code files to a new `osd/` directory.

Also pre-analyze the active elements and only process those that are active. This also saves processing as it's not necessary to loop through all 50 or so elements when only a couple are active.

Various other cleanup and removal of stale or unnecessary code.

In the default configuration the element drawing phase of the OSD task is reduced from ~51us to ~35us - resulting in about a 30% decrease in processing time.
2019-02-21 14:03:25 -05:00