Commit Graph

102 Commits (e13210ca5a9a08accc50cb6eda7dccffa89f38c5)

Author SHA1 Message Date
Michel Pastor 845a14ca1d Add pitch and roll attitude angles OSD items 6 years ago
Alberto García Hierro ac2b42c743 Add symbol for HOME and use it in the home distance indicator 6 years ago
Alexey Stankevich e7aeccbaed Change Watt symbol in OSD preview 7 years ago
Alberto García Hierro 32065e9f45 Add support for configuring multiple OSD layouts 7 years ago
Konstantin Sharlaimov c6dda46330
Merge pull request #408 from warhog/osd
Added indicator for overlapping osd elements
7 years ago
Michel Pastor 353e0cc0a6 Fix OSD AHI preview 7 years ago
warhog 693ef1c893 added indicator if osd elements are stacked over each other 7 years ago
Michel Pastor 2e180fe436 Fixes the issue of the OSD tab alarm tooltips not closing 7 years ago
Michel Pastor dd0f628740 Add trip distance OSD item 7 years ago
Michel Pastor b132aa774c New 1.9 OSD items 7 years ago
Tim Eckel 8a803b06a3 Change the OSD config to show ACRO instead of the defunct STAB flight mode placeholder 7 years ago
Alberto García Hierro e58513e9ae Fix preview of RTC OSD indicator
There was an extra space between the clock symbol and the hour
7 years ago
Alberto García Hierro d19bbe9bc1 Merge pull request #276 from fiam/osd_alarms
Add support for OSD alarms for distance and negative altitude
7 years ago
Konstantin Sharlaimov 56ded2e698 Merge pull request #274 from fiam/osd_efficiency
Add support for OSD_EFFICIENCY
7 years ago
Alberto García Hierro d3ab3986c5 Add support for displaying a small help besides an alarm
Also, add help messages for cap, dist and neg_alt alarms.
7 years ago
Alberto García Hierro 75db725f02 Perform UI-side conversion for alt_alarm too
alt_alarm now performs unit conversion on the UI if the FC
firmware version is greater than 1.7.3
7 years ago
Alberto García Hierro 72c3a48078 Add support for new distance and negative altitude alarms
Add support for alarms that require unit conversion and non-integer
steps.
Implement support for the aforementioned alarms by using unit
conversion to display them in more convenient units when the OSD
is set to display imperial units.
7 years ago
Alberto García Hierro 8ec5876ebf Refactor code for OSD alarms
Define an array of the available alarms. Display just the ones
understood by the FC.
Move alarm names and their help (if any) to the translatable
messages.
7 years ago
Alberto García Hierro e3c115d302 Add support for OSD_EFFICIENCY
Includes new 2-char symbol for mah/km
7 years ago
Alberto García Hierro e570fcbae4 Add support for configuring OSD_VTX_CHANNEL
Element was disabled due to missing support on INAV. Added messages
for element name and its help too.
7 years ago
Alberto García Hierro 9d7b31fd75 Show the correct preview for OSD_GPS_SPEED in UK mode
It was showing the speed in km/h rather than mp/h
7 years ago
Alberto García Hierro abfb27ecb7 Add support for OSD_HEADING_GRAPH 7 years ago
Alberto García Hierro 559ca3068f Add AIR symbol and use it for OSD_AIR_SPEED preview 7 years ago
Alberto García Hierro 968905a513 Load SENSOR_CONFIG before showing OSD UI
SENSOR_CONFIG is used for OSD_AIR_SPEED detection
7 years ago
Alberto García Hierro 6e17c69fd1 Update OSD element previews
Now the preview shows exactly the same image as the real OSD.
Also, remove some unused constants for symbols.
7 years ago
Alberto García Hierro 52b5039465 Add support for OSD_THROTTLE_POS_AUTO_THR
Shows actual THR from the navigation system when it's controlling
THR, stick input otherwise (like the normal THR indicator).

INAV counterpart submitted as
https://github.com/iNavFlight/inav/pull/2217
7 years ago
Alberto García Hierro 46ba69df98 Add support for OSD_MAIN_BATT_CELL_VOLTAGE
Shows the average cell voltage. INAV counterpart already merged
at https://github.com/iNavFlight/inav/pull/2212
7 years ago
Alberto García Hierro 9e95e441b1 Add support for configuring OSD_MESSAGES 7 years ago
Paweł Spychalski aee549dc57 Merge pull request #259 from fiam/osd_ignore_unknown
Ignore OSD items unknown by the FC in the OSD tab
7 years ago
Paweł Spychalski f896d52111 Merge pull request #252 from fiam/osd_hdop
Add HDOP character and support for OSD_GPS_HDOP
7 years ago
Alberto García Hierro c48a3f43f4 Add preview support for OSD vertical elements
Also, add preview for OSD_VARIO and rename SYM.VARIO to
SYM.M_S, since it points to the m/s character.
7 years ago
Alberto García Hierro d5bdf53b9a Ignore OSD items unknown by the FC in the OSD tab
Otherwise configuring the OSD of an INAV version older than the
configurator will cause errors.
7 years ago
Alberto García Hierro a9f6a9d5a7 Add HDOP character and support for OSD_GPS_HDOP 7 years ago
Alberto García Hierro 974ed52c11 Organize OSD elements into groups
Implement groups which can be declared in any order including
any item in the order deemed more useful. This way we no longer
need to put elements ordered by their osd_items_e value.

Also, elements and even groups can be disabled when the features
or hardware required for drawing them is not present or not
enabled.
7 years ago
Alberto García Hierro 1e18c6d08c Add support for new OSD elements
- Support OSD_ONTIME_FLYTIME and OSD_RTC_TIME
- Add support for OSD elements with localized names
- Add support for displaying some help besides an OSD element
7 years ago
Alberto García Hierro 868af88ea9 Add clock character to all fonts 7 years ago
Konstantin Sharlaimov 94ec0c0720 Merge pull request #236 from fiam/osd_uk_units
Add support for selecting UK mode in the OSD units
7 years ago
Alberto García Hierro 0c57b5d9f9 Fix drag and drop not working on NW.js
NW.js requires us to disable pointer events on the inline images,
otherwise the drag/drop events are generated for the images rather
than for the html elements representing OSD items.
7 years ago
Alberto García Hierro 37171dc603 Add support for selecting UK mode in the OSD units
Fixes #233
7 years ago
Alberto García Hierro 14f9cb80df Cleanup gulpfile.js, fix minification
Move outputDir to a constant.
Add an output variable which contains the filenames for each
output file.
Remove usage of 'let' and 'for(... of [Object])' from osd.js,
since uglify doesn't support ES6 and babel failed on
google-analytics-bundle.js
Fix 'deploy-receiver-css'. uglify() was being called as part of
the pipeline instead of the correct minifyCSS() call.
Let npm sort the deps rather than editing them manually
Add missing openlayers dependency
7 years ago
Alberto García Hierro e79911d327 Add characters for NAV modes
[RTH], [WPT], [ALT], [POS] and [A+H].

Characters have been added to all character maps. Leave a white
character after mp/h and the first 2-char image intentionally to
avoid the preview in the configurator showing an icon between
2 lines.
7 years ago
Pawel Spychalski (DzikuVx) 04f1f163e4 airspeed in OSD 7 years ago
Marcin Baliniak 03d725cf07 Lot of fixes to make OSD render more similar to real layout 7 years ago
Pawel Spychalski (DzikuVx) f1193c1a41 basic support for GPS elements 8 years ago
Pawel Spychalski (DzikuVx) 9d613be280 OSD support for PIDs and POWER 8 years ago
Pawel Spychalski (DzikuVx) b8567252af fixed disabling of OSD elements 8 years ago
Pawel Spychalski (DzikuVx) 3a48a51a76 font upload fix 8 years ago
Pawel Spychalski (DzikuVx) c70e7151a0 OSD more and more 8 years ago
Pawel Spychalski (DzikuVx) b062ea24d2 missing frames 8 years ago
Pawel Spychalski (DzikuVx) 9a5e3dbeae msp cleanup 8 years ago
Pawel Spychalski (DzikuVx) 18a00dedf8 MSP refactoring 8 years ago
Pawel Spychalski (DzikuVx) 25c8a6f61c crude port 8 years ago