Skip to content

Commit

Permalink
add links to new HD fonts for DisplayPort goggles
Browse files Browse the repository at this point in the history
  • Loading branch information
Hwurzburg committed Jun 13, 2024
1 parent 041bcb7 commit fd31263
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions common/source/docs/common-msp-osd-overview-4.2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ DisplayPort OSD
===============
DisplayPort, is an MSP protocol extension that allows an autopilot to remotely draw text on compatible external OSDs. DisplayPort, is an MSP protocol extension that allows to remotely draw text characters/icons on compatible external OSDs and allows High Definition (HD) as well as Standard Definition (SD) displays.

HDZero, Walksnail, and DJI with WTF-OSD modifications are capapable of DisplayPort operation.
HDZero, Walksnail, and DJI with WTF-OSD modifications are capable of DisplayPort operation.

Features
--------
Expand Down Expand Up @@ -208,14 +208,21 @@ Each OSD panel item uses a set of three variables to be set:

.. _display_resolution:

Display Resolution
------------------
Display Resolution and Fonts
----------------------------
When using DisplayPort, you can select to display either the SD or HD fonts using ``OSDx_TXT_RES`` for each OSD screen enabled. 0 = SD (30x16), 1 = HD (50x18), 3 = HD (60x22).

For HDZero you should set ``OSDx_TXT_RES`` to 0 or 1 for each enabled OSD screen. If you set it to 2, the text displayed will be garbled.

The SD font's positions are set on a 30x16 X/Y position grid as normal, the HD uses a (1) 50x18 or (2) 60x22 grid. The 50x18 grid has margins at the top/bottom/left/right of the screen before the grid begins.

ArduPilot compatible fonts for WTFOS modified DJI goggles can be found `**HERE** <https://github.com/ArduPilot/ardupilot/tree/master/libraries/AP_OSD/fonts/HDFonts/WTFOS-DJI>`__ .

Walksnail/Avatar HD Goggles can select which font they use via a goggle menu. A set of different style fonts that are ArduPilot compatible can be found `**HERE** <https://github.com/ArduPilot/ardupilot/tree/master/libraries/AP_OSD/fonts/HDFonts/WalkSnail>`__ . The following image shows the font styles included.

.. image:: ../../../images/font_maps.png
:target: ../_images/font_maps.png

Screens and screen switching
----------------------------
For multiple screen layouts, each screen's "OSD" parameter label is trailed by a number, starting with "1". For example, ``OSDn_<ITEM>_x`` is a parameter "x" associated with screen 1's "ITEM" panel.
Expand Down
Binary file added images/font_maps.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit fd31263

Please sign in to comment.