Skip to content

Commit e43fbda

Browse files
committed
Fixed position for formation flight / inav radar
1 parent e3a6096 commit e43fbda

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
@@ -4129,6 +4129,12 @@
41294129
"osdElement_MAP_REFERENCE_HELP": {
41304130
"message": "Reference (direction that points up) of the current map. N for North and T for takeoff direction."
41314131
},
4132+
"osdElement_FORMATION_FLIGHT": {
4133+
"message": "Inav radar fixed"
4134+
},
4135+
"osdElement_FORMATION_FLIGHT_HELP": {
4136+
"message": "The closest aircraft from Inav radar/Formation flight"
4137+
},
41324138
"osdElement_WIND_SPEED_HORIZONTAL": {
41334139
"message": "Horizontal wind speed"
41344140
},
@@ -4551,7 +4557,7 @@
45514557
},
45524558
"missionTitleAdd": {
45534559
"message": "Add"
4554-
},
4560+
},
45554561
"missionTitleMoveToCenterView": {
45564562
"message": "move to center view"
45574563
},
@@ -4565,7 +4571,7 @@
45654571
"message": "Edit Mission"
45664572
},
45674573
"MissionPlannerFwLAndingAltitudeChangeReset": {
4568-
"message": "Altitude below min land altitude. Change ignored"
4574+
"message": "Altitude below min land altitude. Change ignored"
45694575
},
45704576
"missionWpType": {
45714577
"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 video_type = null;
@@ -1774,6 +1777,15 @@ OSD.constants = {
17741777
id: 99,
17751778
preview: FONT.symbol(SYM.DIRECTION) + '\nN',
17761779
},
1780+
{
1781+
name: 'FORMATION_FLIGHT',
1782+
id: 153,
1783+
min_version: '8.0.0',
1784+
positionable: true,
1785+
preview: function(osd_data) {
1786+
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" ;
1787+
}
1788+
},
17771789
],
17781790
},
17791791
{
@@ -1912,7 +1924,7 @@ OSD.constants = {
19121924
min_version: '7.1.0',
19131925
positionable: true,
19141926
preview: "CE_3",
1915-
},
1927+
}
19161928
]
19171929
},
19181930
{

0 commit comments

Comments
 (0)