1
0
Fork 0
mirror of https://github.com/iNavFlight/inav-configurator.git synced 2025-07-15 12:25:13 +03:00
Commit graph

57 commits

Author SHA1 Message Date
Konstantin Sharlaimov
e8f37da7c7
Merge pull request #442 from iNavFlight/agh_map_version
Prevent map modes to be shown if firmware is < 2.0.0
2018-05-12 11:58:12 +10:00
Michel Pastor
909d183e82 Fix OSD AHI preview 2018-05-11 17:09:17 +02:00
Alberto García Hierro
91d802a81b Prevent map modes to be shown if firmware is < 2.0.0
Oversight from the initial map mode support
2018-05-11 10:12:49 +01:00
Alberto García Hierro
dfacb0b084 Add support for osd MAP mode
Includes new icon for the map scale a new group for the maps/radars,
since they're a bit special (they allow element overlapping inside
them).
2018-05-08 12:06:08 +01:00
Konstantin Sharlaimov
e216d32850
Merge pull request #435 from shellixyz/add_pitch_and_roll_attitude_angle_in_osd
Add pitch and roll attitude angles OSD items
2018-05-08 15:02:28 +10:00
Michel Pastor
845a14ca1d Add pitch and roll attitude angles OSD items 2018-05-07 23:27:52 +02:00
Alberto García Hierro
ac2b42c743 Add symbol for HOME and use it in the home distance indicator 2018-05-06 10:55:30 +01:00
Alexey Stankevich
e7aeccbaed Change Watt symbol in OSD preview 2018-04-28 00:18:19 +03:00
Alberto García Hierro
32065e9f45 Add support for configuring multiple OSD layouts 2018-04-26 11:20:23 +01:00
Konstantin Sharlaimov
c6dda46330
Merge pull request #408 from warhog/osd
Added indicator for overlapping osd elements
2018-04-23 12:25:49 +10:00
Michel Pastor
353e0cc0a6 Fix OSD AHI preview 2018-04-23 04:22:56 +02:00
warhog
693ef1c893 added indicator if osd elements are stacked over each other 2018-04-19 08:12:57 +02:00
Michel Pastor
2e180fe436 Fixes the issue of the OSD tab alarm tooltips not closing 2018-03-26 03:42:25 +02:00
Michel Pastor
dd0f628740 Add trip distance OSD item 2018-03-06 19:02:25 +01:00
Michel Pastor
b132aa774c New 1.9 OSD items 2018-02-17 22:50:22 +01:00
Tim Eckel
8a803b06a3 Change the OSD config to show ACRO instead of the defunct STAB flight mode placeholder 2017-10-29 22:56:43 -04:00
Alberto García Hierro
e58513e9ae Fix preview of RTC OSD indicator
There was an extra space between the clock symbol and the hour
2017-10-18 10:46:12 +01:00
Alberto García Hierro
d19bbe9bc1 Merge pull request #276 from fiam/osd_alarms
Add support for OSD alarms for distance and negative altitude
2017-10-12 10:06:48 +01:00
Konstantin Sharlaimov
56ded2e698 Merge pull request #274 from fiam/osd_efficiency
Add support for OSD_EFFICIENCY
2017-10-12 18:53:46 +10:00
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.
2017-10-09 19:27:12 +01:00
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
2017-10-09 19:18:58 +01:00
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.
2017-10-08 23:40:45 +01:00
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.
2017-10-08 23:12:45 +01:00
Alberto García Hierro
e3c115d302 Add support for OSD_EFFICIENCY
Includes new 2-char symbol for mah/km
2017-10-08 21:54:08 +01:00
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.
2017-10-08 10:56:47 +01:00
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
2017-10-06 15:51:53 +01:00
Alberto García Hierro
abfb27ecb7 Add support for OSD_HEADING_GRAPH 2017-10-05 11:26:50 +01:00
Alberto García Hierro
559ca3068f Add AIR symbol and use it for OSD_AIR_SPEED preview 2017-09-29 21:06:48 +01:00
Alberto García Hierro
968905a513 Load SENSOR_CONFIG before showing OSD UI
SENSOR_CONFIG is used for OSD_AIR_SPEED detection
2017-09-29 20:25:25 +01:00
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.
2017-09-29 20:21:17 +01:00
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
2017-09-27 09:42:19 +01:00
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
2017-09-27 09:42:19 +01:00
Alberto García Hierro
9e95e441b1 Add support for configuring OSD_MESSAGES 2017-09-25 23:22:56 +01:00
Paweł Spychalski
aee549dc57 Merge pull request #259 from fiam/osd_ignore_unknown
Ignore OSD items unknown by the FC in the OSD tab
2017-09-25 19:42:39 +02:00
Paweł Spychalski
f896d52111 Merge pull request #252 from fiam/osd_hdop
Add HDOP character and support for OSD_GPS_HDOP
2017-09-25 19:38:09 +02:00
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.
2017-09-25 18:18:00 +01:00
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.
2017-09-25 11:36:10 +01:00
Alberto García Hierro
a9f6a9d5a7 Add HDOP character and support for OSD_GPS_HDOP 2017-09-25 10:22:57 +01:00
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.
2017-09-24 19:02:02 +01:00
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
2017-09-15 20:34:19 +01:00
Alberto García Hierro
868af88ea9 Add clock character to all fonts 2017-09-15 20:31:45 +01:00
Konstantin Sharlaimov
94ec0c0720 Merge pull request #236 from fiam/osd_uk_units
Add support for selecting UK mode in the OSD units
2017-09-08 20:44:36 +10:00
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.
2017-09-04 21:41:13 +01:00
Alberto García Hierro
37171dc603 Add support for selecting UK mode in the OSD units
Fixes #233
2017-09-04 21:12:18 +01:00
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
2017-08-31 21:27:31 +01:00
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.
2017-08-25 20:41:49 +02:00
Pawel Spychalski (DzikuVx)
04f1f163e4 airspeed in OSD 2017-08-03 22:50:51 +02:00
Marcin Baliniak
03d725cf07 Lot of fixes to make OSD render more similar to real layout 2017-07-13 23:37:17 +02:00
Pawel Spychalski (DzikuVx)
f1193c1a41 basic support for GPS elements 2017-02-20 15:37:34 +01:00
Pawel Spychalski (DzikuVx)
9d613be280 OSD support for PIDs and POWER 2017-01-31 20:53:16 +01:00