Commit Graph

80 Commits (ca46f477ab8dab7011adbb5c1507d19a1a8b5829)

Author SHA1 Message Date
Alberto García Hierro 8c3d62cc8f Remove unintended console.log() call from OSD coordinate previews 6 years ago
Alberto García Hierro 142e960893 Add support for configuring coordinate digit count on OSD
Depends on https://github.com/iNavFlight/inav/pull/3573
6 years ago
Alberto García Hierro 5e5993cdef
Merge pull request #533 from iNavFlight/agh_osd_settings
Add support for editing more OSD settings from the OSD tab
6 years ago
Alberto García Hierro 42c45648d3 Add support for editing more OSD settings from the OSD tab
- Voltage decimals
- Crosshairs style
- Sidebar scroll for left and right
- Sidebar scrolling arrows
6 years ago
Alberto García Hierro c523846b70 Fix map center location in the OSD preview
It was not properly calculated because it used the AHI center as
a starting point, which is not actually vertically centered.
6 years ago
Michel Pastor 6b8876d853 Fix OSD attitude pitch and roll preview 6 years ago
Michel Pastor 0cc688ca21 Fix some OSD element IDs and previews 6 years ago
Michel Pastor 9365b46535 Add new OSD items 6 years ago
Alberto García Hierro 211d9b27fe Add support for the latest MSP2_INAV_OSD_LAYOUTS changes
OSD layouts are now sent separately via MSP to avoid overflowing the
TX buffer.
6 years ago
Alberto García Hierro f13231be9a
Merge pull request #481 from iNavFlight/agh_vtx_settings
Add support for latest VTX changes
6 years ago
Alberto García Hierro 18817b2f21
Merge pull request #479 from iNavFlight/agh_fix_osd_items_outside_viewport
Improve handling of OSD elements outside the viewport
6 years ago
Alberto García Hierro ba45e316e3 Update VTX OSD item preview
It will show the power level in 2.0
6 years ago
Alberto García Hierro 35775d5062 Improve handling of OSD elements outside the viewport
- Don't crash when showing the preview for an item which is turned
on but non-visible due to its position.
- Move items outside of the viewport inside it when switching them
from hidden to visible.
6 years ago
Michel Pastor 7462218f3e Add remaining flight time / distance OSD items 6 years ago
Michel Pastor c32ba2614e Add sag compensated battery voltage to the OSD tab 6 years ago
Paweł Spychalski 19c26446e5
Merge pull request #452 from iNavFlight/agh_fix_new_api_alarms
Correctly display alarms when using the new OSD API
6 years ago
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).
6 years ago
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
6 years ago
Alberto García Hierro 55688abcbd Correctly display alarms when using the new OSD API
Fixes incorrect alarms in 2.0
6 years ago
Alberto García Hierro f64a707c37 Fix air speed preview in UK mode
As reported in https://github.com/iNavFlight/inav/issues/3235
6 years ago
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.
6 years ago
Alberto García Hierro 15e884acf1
Merge pull request #443 from iNavFlight/agh_osd_radar
Add support for OSD Radar mode
6 years ago
Konstantin Sharlaimov e8f37da7c7
Merge pull request #442 from iNavFlight/agh_map_version
Prevent map modes to be shown if firmware is < 2.0.0
6 years ago
Michel Pastor 909d183e82 Fix OSD AHI preview 6 years ago
Alberto García Hierro 7029323f49 Add support for OSD Radar mode 6 years ago
Alberto García Hierro 91d802a81b Prevent map modes to be shown if firmware is < 2.0.0
Oversight from the initial map mode support
6 years ago
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).
6 years ago
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
6 years ago
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