1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 08:45:36 +03:00
Commit graph

250 commits

Author SHA1 Message Date
mikeller
8db70252dd Fixed problem with craft name overwriting elements in OSD. 2018-02-19 01:35:01 +13:00
Diego Basch
d75b1f71c3 Fix for #5117. GPS coordinates no longer require special fonts to render the decimal separator.
Removed the code that used leading and trailing half-dots, now using a regular dot instead.
Also fixed the maximum length of the coordinate string, as the 7th decimal digit was getting clobbered in longitudes with three digits (the count was off by one).
2018-02-11 13:02:41 -08:00
Martin Budden
e2683cd2dc Corrected VTX vtables to not use static device handle 2018-02-01 11:15:07 +00:00
Martin Budden
e7cac0e9c6 Always use arming disable flag names 2018-01-21 14:15:49 +00:00
Dan Nixon
ed42d59c94 Add temperature conversion for ESC temp, tidy formatting 2018-01-14 20:56:40 +00:00
Dan Nixon
52d45ff72b Add temperature unit conversion
Selects unit based on OSD unit system setting: metric is degC and
imperial is degF.
2018-01-14 13:49:05 +00:00
Dan Nixon
f8e4d02c99 Add core (MCU) temperature to OSD 2018-01-13 12:39:42 +00:00
Martin Budden
e6f5926131 Prepare OSD for iterative updating 2018-01-12 14:46:29 +00:00
mikeller
385623bd9d Converted defines for VTX_COMMON, VTX_CONTROL, VTX_RTC6705, VTX_RTC6705SOFTSPI, VTX_TRAMP, VTX_SMARTAUDIO to use USE_ prefix. 2018-01-09 17:34:34 +13:00
mikeller
09d396c05c Cleaned up parameter group handling.
Fixed missing include.
2017-12-31 10:51:01 +13:00
mikeller
d82c72bc54 Moved sdcard parameter group to pg/. 2017-12-24 12:23:27 +13:00
mikeller
b489d0ba9d Renamed 'parameter_group' to 'pg'. 2017-12-19 23:36:31 +13:00
atomiclama
6e5ad5d210 Change switch default handling
Currently if no black box device is selected the default case sets
storageDeviceIsWorking = true. 

I believe this to be wrong.

This commit keeps the initial setting of false.
2017-12-06 09:17:55 +00:00
mikeller
4d30971e2d Fixed permissions on files. 2017-11-28 23:31:55 +13:00
Martin Budden
b49f20fd8d Tidy of OSD code 2017-11-22 09:46:28 +00:00
Dan Nixon
2bb561aa61 Add RTC date/time to OSD stats
Fixes #4575
2017-11-19 10:55:52 +00:00
mikeller
fb7f0e1904 Move default position for OSD elements away from underneath artificial horizon / crosshairs position. 2017-11-14 01:29:45 +13:00
Michael Keller
12c052c103
Merge pull request #4555 from codecae/vtx_low_power_disarm_fix
Fixes for vtx_low_power_disarm_fix issue
2017-11-12 23:10:50 +13:00
Curtis Bangert
f35ec19b15 Fixed vtx_low_power_disarm 2017-11-12 02:33:54 -05:00
jyesmith
4e0c16855f Added OSD_REMAINING_TIME_ESTIMATE which is based on flight used mAh rate. 2017-11-12 14:20:34 +10:00
Michael Keller
1c5c7476c1
Merge pull request #4541 from mikeller/cleanup_rssi
Cleaned up handling of RSSI, added resetting to 0 for RSSI over MSP.
2017-11-12 10:35:26 +13:00
mikeller
fc28817448 Fixed up adjustment range OSD display and made it configurable. 2017-11-12 04:22:28 +13:00
Michael Keller
41806636d6
Merge pull request #4543 from mikeller/added_rtc_date_time_to_osd
Added RTC date/time to OSD.
2017-11-12 03:17:55 +13:00
mikeller
c6b88e5d04 Cleaned up handling of RSSI, added resetting to 0 for RSSI over MSP. 2017-11-12 01:22:12 +13:00
mikeller
968efb86bf Added RTC date/time to OSD. 2017-11-11 20:07:20 +13:00
Curtis Bangert
01a78ef77f Use parameter group to populate vtx channel in OSD 2017-11-10 21:18:54 -05:00
Bjoern Schultze
03b1f5f54c show inflight adjustments in osd 2017-11-07 11:30:14 +01:00
mikeller
a8d34dabb0 Changed defines for GYRO/ACC/MAG/BARO/GPS/SONAR/OSD/BLACKBOX/CMS to conform to the USE_ convention. 2017-11-05 10:15:24 +13:00
Michael Keller
df6b2dc1be
Merge pull request #4475 from mikeller/order_osd_warnings_by_importance
Ordered priority of OSD warnings by importance.
2017-11-02 18:56:01 +13:00
Michael Keller
c9e96a6d7f
Merge pull request #4445 from McGiverGim/bf-fix_negative_rth_arrow_osd
Fix negative direction in HOME ARROW in OSD
2017-11-02 03:08:40 +13:00
mikeller
b7c17151c1 Ordered priority of OSD warnings by importance. 2017-11-01 21:22:30 +13:00
Dan Nixon
6621ed9818 Allow OSD warnings to be toggled 2017-10-29 10:10:29 +00:00
Miguel Angel Mulero Martinez
21f2433653 Fix negative direction in HOME ARROW in OSD 2017-10-28 10:56:16 +02:00
Dan Nixon
bb4f573615 Ensure OSD display is refreshed when stat screen disabled 2017-10-27 19:54:43 +01:00
Miguel Angel Mulero Martinez
06728f360a Fix the GPS image in OSD to use two symbols 2017-10-26 10:04:43 +02:00
Miguel Angel Mulero Martinez
dadedd059f Show stats only if enabled
If no enabled stat to show, don't show the stats page in the OSD
2017-10-24 10:14:15 +02:00
Michael Keller
ecec6615e7 Merge pull request #4260 from DanNixon/osd_default_layout
Set a reasonable default OSD layout
2017-10-12 00:10:15 +13:00
Dan Nixon
3aeef39b5a Add OSD and beeper warnings for anti turtle mode 2017-10-10 08:20:56 +01:00
Dan Nixon
db35523437 Set a reasonable default OSD layout
All elements off and positioned near the centre of the screen (in NTSC
at least), apart from the warnings element which is in the previous
position and enabled.

The warnings element is kept as it does show inportant information and
is not visible if no warning is active.
2017-10-01 14:34:28 +01:00
Martin Budden
53f5e87c7a Add void to function declarations/definitions where required 2017-09-24 09:22:48 +01:00
Dan Nixon
3013229918 Left pad OSD electrical power readout 2017-09-10 15:23:01 +01:00
Dan Nixon
20f7c77089 Add BATT NOT FULL warning to OSD
Shows BATT NOT FULL when the connected battery has an everage cell
voltage of less than 0.2v lower then vbatmaxcellvoltage (when the craft
has yet to be armed)

Intended as a reminder to make sure pilots fly with a fresh battery

Adds an additional configuration option for the voltage at which a cell
is "full"
2017-08-18 08:07:20 +01:00
Martin Budden
d2b31c1770 Fixed some comparion sign warnings 2017-08-16 11:30:00 +01:00
Martin Budden
fa4927c312 Merge pull request #3614 from DanNixon/osd_ahi_config
Allow configuration of the AHI limits
2017-08-12 08:49:58 +01:00
Dan Nixon
cf040713da Allow configuration of the AHI limits 2017-08-12 07:54:09 +01:00
Martin Budden
7580b25d80 Merge pull request #3741 from elektronisk/patch-1
OSD, adjust the heading angles where "compass bar" and "numerical heading" arrows change
2017-08-12 07:39:47 +01:00
Martin Budden
a0f48f74c1 Merge pull request #3615 from DanNixon/osd_battery_current_formatting
Improve formatting of numerical OSD elements
2017-08-12 07:24:44 +01:00
Andreas Bertheussen
f875f92292 Update osd.c
Correct the heading boundaries used to display "numerical heading" arrow symbol, and "compass bar" direction.

The direction indicators get shifted by 1/32th of a circle. For instance the forward arrow and north direction will now be displayed for headings 349..011, instead of at headings 000..022.
2017-08-03 18:16:34 +02:00
Dan Nixon
28fb930c1f Improve formatting of some numerical OSD elements
- Moved units to the right of the number
- Added adequate left padding
2017-07-26 12:57:12 +01:00
blckmn
7a5d1d9b8e Moving boardIdentifier out of config header and into systemConfig (for generic targets) 2017-07-25 09:05:12 +10:00