Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Break up HUD elements into individual OSD elements (configurator changes) #1812

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
19 changes: 15 additions & 4 deletions _locales/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -2687,7 +2687,7 @@
"message": "In general, higher value is better. With asynchronous gyroscope, should be kept below gyro update frequency. Maximal practical value is hardware dependant. If set too high, board might not run properly. Observe CPU usage."
},
"tabOSD": {
"message": "OSD"
"message": "OSD Layout"
},
"configurationSensors": {
"message": "Sensors & buses"
Expand Down Expand Up @@ -3414,10 +3414,10 @@
"message": "This section allows tweaking the behavior of HUD elements."
},
"osd_hud_radar_disp": {
"message": "Maximum number of radar elements on screen."
"message": "Maximum count of nearby aircrafts to display in the HUD. The nearby aircrafts will appear as markers A, B, C, etc"
},
"osd_hud_radar_disp_help": {
"message": "This is used for INAV Radar/FormationFlight. 0 disables this feature."
"message": "This is used for INAV Radar/FormationFlight."
},

"osd_hud_radar_range_min": {
Expand All @@ -3439,7 +3439,7 @@
"message": "Maximum number of waypoint elements on screen."
},
"osd_hud_wp_disp_help": {
"message": "Number of Wayponts to show on screen. 0 disables this feature."
"message": "How many navigation waypoints are displayed in the HUD. As sample, if set to 2, and you just passed the 3rd waypoint of the mission, you'll see markers for the 4th waypoint (marked 1) and the 5th waypoint (marked 2)"
},
"osd_camera_uptilt": {
"message": "Camera uptilt"
Expand Down Expand Up @@ -3635,6 +3635,17 @@
"osdGroupMapsAndRadars": {
"message": "Maps and Radars"
},
"osdGroupHud": {
"message": "Heads up Display"
},
"osdGroupHud_HELP":
{
"message": "HUD elements are positioned around the center of the screen and move as their position in relation to the aircraft changes."
},
"osdElement_INAV_RADAR":
{
"message": "INAV Radar/FormationFlight"
},
"osdGroupMapsAndRadars_HELP": {
"message": "Maps and radars allow laying out additional elements on top of them as long as they don't overlap any of the map parts visible in the preview."
},
Expand Down
27 changes: 26 additions & 1 deletion tabs/osd.js
Original file line number Diff line number Diff line change
Expand Up @@ -1688,9 +1688,34 @@ OSD.constants = {
name: 'MAP_REFERENCE',
id: 99,
preview: FONT.symbol(SYM.DIRECTION) + '\nN',
},
}
],
},
{
name: 'osdGroupHud',
items: [
{
name: 'HOMING',
id: 144,
positionable: false
},
{
name: 'HOMEPOINT',
id: 145,
positionable: false
},
{
name: 'INAV_RADAR',
id: 146,
positionable: false
},
{
name: 'WAYPOINTS',
id: 147,
positionable: false
}
]
},
{
name: 'osdGroupVTX',
items: [
Expand Down