Skip to content

Commit 63fd963

Browse files
committed
Fixed position for formation flight / inav radar
1 parent 30765ae commit 63fd963

File tree

2 files changed

+21
-3
lines changed

2 files changed

+21
-3
lines changed

locale/en/messages.json

+8-2
Original file line numberDiff line numberDiff line change
@@ -4042,6 +4042,12 @@
40424042
"osdElement_MAP_REFERENCE_HELP": {
40434043
"message": "Reference (direction that points up) of the current map. N for North and T for takeoff direction."
40444044
},
4045+
"osdElement_FORMATION_FLIGHT": {
4046+
"message": "Inav radar fixed"
4047+
},
4048+
"osdElement_FORMATION_FLIGHT_HELP": {
4049+
"message": "The closest aircraft from Inav radar/Formation flight"
4050+
},
40454051
"osdElement_WIND_SPEED_HORIZONTAL": {
40464052
"message": "Horizontal wind speed"
40474053
},
@@ -4464,7 +4470,7 @@
44644470
},
44654471
"missionTitleAdd": {
44664472
"message": "Add"
4467-
},
4473+
},
44684474
"missionTitleMoveToCenterView": {
44694475
"message": "move to center view"
44704476
},
@@ -4478,7 +4484,7 @@
44784484
"message": "Edit Mission"
44794485
},
44804486
"MissionPlannerFwLAndingAltitudeChangeReset": {
4481-
"message": "Altitude below min land altitude. Change ignored"
4487+
"message": "Altitude below min land altitude. Change ignored"
44824488
},
44834489
"missionWpType": {
44844490
"message": "Type:"

tabs/osd.js

+13-1
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,9 @@ SYM.AH_AIRCRAFT2 = 0x1A4;
147147
SYM.AH_AIRCRAFT3 = 0x1A5;
148148
SYM.AH_AIRCRAFT4 = 0x1A6;
149149

150+
SYM.SYM_HUD_SIGNAL_3 = 0x163;
151+
SYM.SYM_HUD_CARDINAL = 0x1BA;
152+
150153
SYM.AH_CROSSHAIRS = new Array(0x166, 0x1A4, new Array(0x190, 0x191, 0x192), new Array(0x193, 0x194, 0x195), new Array(0x196, 0x197, 0x198), new Array(0x199, 0x19A, 0x19B), new Array (0x19C, 0x19D, 0x19E), new Array (0x19F, 0x1A0, 0x1A1));
151154

152155
var useESCTelemetry = false;
@@ -1781,6 +1784,15 @@ OSD.constants = {
17811784
id: 99,
17821785
preview: FONT.symbol(SYM.DIRECTION) + '\nN',
17831786
},
1787+
{
1788+
name: 'FORMATION_FLIGHT',
1789+
id: 152,
1790+
min_version: '8.0.0',
1791+
positionable: true,
1792+
preview: function(osd_data) {
1793+
return FONT.symbol(SYM.DIRECTION) + 'B' + FONT.symbol(SYM.SYM_HUD_SIGNAL_3) + FONT.symbol(SYM.SYM_HUD_CARDINAL) + "\n 150" + "\n" + FONT.symbol(SYM.AH_DECORATION_UP) + " 27" ;
1794+
}
1795+
},
17841796
],
17851797
},
17861798
{
@@ -1919,7 +1931,7 @@ OSD.constants = {
19191931
min_version: '7.1.0',
19201932
positionable: true,
19211933
preview: "CE_3",
1922-
},
1934+
}
19231935
]
19241936
},
19251937
{

0 commit comments

Comments
 (0)