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

315 commits

Author SHA1 Message Date
Paweł Spychalski
19c26446e5
Merge pull request #452 from iNavFlight/agh_fix_new_api_alarms
Correctly display alarms when using the new OSD API
2018-06-04 17:21:01 +02:00
Alberto García Hierro
6301dddcc6 Add support for configuring OSD wind indicators
Symbols for "[GB" and "BL]" have been replaced by the wind indicators,
since we're not using them (and it's unlikely we will).
2018-05-27 21:13:24 +01:00
Alberto García Hierro
aeff96317a
Merge pull request #450 from iNavFlight/agh_workaround_f3_font_bug
Add a workaround for uploading fonts on F3 from macOS
2018-05-25 13:15:54 +01:00
Alberto García Hierro
55688abcbd Correctly display alarms when using the new OSD API
Fixes incorrect alarms in 2.0
2018-05-19 21:25:33 +01:00
Alberto García Hierro
f64a707c37 Fix air speed preview in UK mode
As reported in https://github.com/iNavFlight/inav/issues/3235
2018-05-19 11:56:08 +01:00
Alberto García Hierro
205d8c2df7 Add a workaround for uploading fonts on F3 from macOS
Change MSP.send_message() and MSP.promise() to accept an optional
protocol version argument. If null or undefined, the default version
set for the MSP instance is used instead.

Use this additional argument in FONT.upload(), so we avoid generating
64 byte writes when uploading a font.
2018-05-19 11:35:28 +01:00
Alberto García Hierro
15e884acf1
Merge pull request #443 from iNavFlight/agh_osd_radar
Add support for OSD Radar mode
2018-05-14 22:28:07 +01:00
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
7029323f49 Add support for OSD Radar mode 2018-05-11 11:07:26 +01: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