parent
266d5f445d
commit
d6c129fb1f
|
@ -5547,6 +5547,13 @@
|
||||||
"osdDescElementReadyMode": {
|
"osdDescElementReadyMode": {
|
||||||
"message": "When active READY will be displayed until flying"
|
"message": "When active READY will be displayed until flying"
|
||||||
},
|
},
|
||||||
|
"osdTextElementRSNRValue": {
|
||||||
|
"message": "RSNR Value",
|
||||||
|
"description": "One of the elements of the OSD"
|
||||||
|
},
|
||||||
|
"osdDescElementRSNRValue": {
|
||||||
|
"message": "RSNR Value"
|
||||||
|
},
|
||||||
"osdTextElementUnknown": {
|
"osdTextElementUnknown": {
|
||||||
"message": "Unknown $1",
|
"message": "Unknown $1",
|
||||||
"description": "One of the elements of the OSD"
|
"description": "One of the elements of the OSD"
|
||||||
|
@ -5744,6 +5751,13 @@
|
||||||
"osdDescStatMinRssiDbm": {
|
"osdDescStatMinRssiDbm": {
|
||||||
"message": "Minimum RSSI dBm value"
|
"message": "Minimum RSSI dBm value"
|
||||||
},
|
},
|
||||||
|
"osdTextStatMinRSNR": {
|
||||||
|
"message": "Minimum RSNR value",
|
||||||
|
"description": "One of the statistics that can be shown at the end of the flight in the OSD"
|
||||||
|
},
|
||||||
|
"osdDescStatMinRSNR": {
|
||||||
|
"message": "Minimum RSNR value"
|
||||||
|
},
|
||||||
"osdTextStatUnknown": {
|
"osdTextStatUnknown": {
|
||||||
"message": "Unknown $1",
|
"message": "Unknown $1",
|
||||||
"description": "One of the statistics that can be shown at the end of the flight in the OSD"
|
"description": "One of the statistics that can be shown at the end of the flight in the OSD"
|
||||||
|
@ -5940,6 +5954,13 @@
|
||||||
"osdWarningOverCap": {
|
"osdWarningOverCap": {
|
||||||
"message": "Warns when the consumed mAh exceeds the configured capacity limit"
|
"message": "Warns when the consumed mAh exceeds the configured capacity limit"
|
||||||
},
|
},
|
||||||
|
"osdWarningTextRSNR": {
|
||||||
|
"message": "RSNR",
|
||||||
|
"description": "One of the warnings that can be selected to be shown in the OSD"
|
||||||
|
},
|
||||||
|
"osdWarningRSNR": {
|
||||||
|
"message": "Warns when RSNR value is below alarm setting"
|
||||||
|
},
|
||||||
"osdWarningTextUnknown": {
|
"osdWarningTextUnknown": {
|
||||||
"message": "Unknown $1"
|
"message": "Unknown $1"
|
||||||
},
|
},
|
||||||
|
|
|
@ -948,15 +948,6 @@ OSD.loadDisplayFields = function() {
|
||||||
positionable: true,
|
positionable: true,
|
||||||
preview: `${FONT.symbol(SYM.PITCH)}-00.0`,
|
preview: `${FONT.symbol(SYM.PITCH)}-00.0`,
|
||||||
},
|
},
|
||||||
READY_MODE: {
|
|
||||||
name: 'READY_MODE',
|
|
||||||
text: 'osdTextElementReadyMode',
|
|
||||||
desc: 'osdDescElementReadyMode',
|
|
||||||
defaultPosition: -1,
|
|
||||||
draw_order: 255,
|
|
||||||
positionable: true,
|
|
||||||
preview: 'READY',
|
|
||||||
},
|
|
||||||
ROLL_ANGLE: {
|
ROLL_ANGLE: {
|
||||||
name: 'ROLL_ANGLE',
|
name: 'ROLL_ANGLE',
|
||||||
text: 'osdTextElementRollAngle',
|
text: 'osdTextElementRollAngle',
|
||||||
|
@ -1374,6 +1365,24 @@ OSD.loadDisplayFields = function() {
|
||||||
positionable: true,
|
positionable: true,
|
||||||
preview: 'AUX',
|
preview: 'AUX',
|
||||||
},
|
},
|
||||||
|
READY_MODE: {
|
||||||
|
name: 'READY_MODE',
|
||||||
|
text: 'osdTextElementReadyMode',
|
||||||
|
desc: 'osdDescElementReadyMode',
|
||||||
|
defaultPosition: -1,
|
||||||
|
draw_order: 485,
|
||||||
|
positionable: true,
|
||||||
|
preview: 'READY',
|
||||||
|
},
|
||||||
|
RSNR_VALUE: {
|
||||||
|
name: 'RSNR_VALUE',
|
||||||
|
text: 'osdTextElementRSNRValue',
|
||||||
|
desc: 'osdDescElementRSNRValue',
|
||||||
|
defaultPosition: -1,
|
||||||
|
draw_order: 490,
|
||||||
|
positionable: true,
|
||||||
|
preview: `${FONT.symbol(SYM.RSSI)}15`,
|
||||||
|
},
|
||||||
SYS_GOGGLE_VOLTAGE: {
|
SYS_GOGGLE_VOLTAGE: {
|
||||||
name: 'SYS_GOGGLE_VOLTAGE',
|
name: 'SYS_GOGGLE_VOLTAGE',
|
||||||
text: 'osdTextElementSysGoggleVoltage',
|
text: 'osdTextElementSysGoggleVoltage',
|
||||||
|
@ -1644,6 +1653,11 @@ OSD.constants = {
|
||||||
text: 'osdTextStatMinRssiDbm',
|
text: 'osdTextStatMinRssiDbm',
|
||||||
desc: 'osdDescStatMinRssiDbm',
|
desc: 'osdDescStatMinRssiDbm',
|
||||||
},
|
},
|
||||||
|
MIN_RSNR: {
|
||||||
|
name: 'MIN_RSNR',
|
||||||
|
text: 'osdTextStatMinRSNR',
|
||||||
|
desc: 'osdDescStatMinRSNR',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
ALL_WARNINGS: {
|
ALL_WARNINGS: {
|
||||||
ARMING_DISABLED: {
|
ARMING_DISABLED: {
|
||||||
|
@ -1731,6 +1745,11 @@ OSD.constants = {
|
||||||
text: 'osdWarningTextOverCap',
|
text: 'osdWarningTextOverCap',
|
||||||
desc: 'osdWarningOverCap',
|
desc: 'osdWarningOverCap',
|
||||||
},
|
},
|
||||||
|
RSNR: {
|
||||||
|
name: 'RSNR',
|
||||||
|
text: 'osdWarningTextRSNR',
|
||||||
|
desc: 'osdWarningRSNR',
|
||||||
|
},
|
||||||
|
|
||||||
},
|
},
|
||||||
FONT_TYPES: [
|
FONT_TYPES: [
|
||||||
|
@ -1904,6 +1923,7 @@ OSD.chooseFields = function() {
|
||||||
F.WH_DRAWN,
|
F.WH_DRAWN,
|
||||||
F.AUX_VALUE,
|
F.AUX_VALUE,
|
||||||
F.READY_MODE,
|
F.READY_MODE,
|
||||||
|
F.RSNR_VALUE,
|
||||||
F.SYS_GOGGLE_VOLTAGE,
|
F.SYS_GOGGLE_VOLTAGE,
|
||||||
F.SYS_VTX_VOLTAGE,
|
F.SYS_VTX_VOLTAGE,
|
||||||
F.SYS_BITRATE,
|
F.SYS_BITRATE,
|
||||||
|
@ -2020,6 +2040,7 @@ OSD.chooseFields = function() {
|
||||||
if (semver.gte(FC.CONFIG.apiVersion, API_VERSION_1_45)) {
|
if (semver.gte(FC.CONFIG.apiVersion, API_VERSION_1_45)) {
|
||||||
OSD.constants.STATISTIC_FIELDS = OSD.constants.STATISTIC_FIELDS.concat([
|
OSD.constants.STATISTIC_FIELDS = OSD.constants.STATISTIC_FIELDS.concat([
|
||||||
F.USED_WH,
|
F.USED_WH,
|
||||||
|
F.MIN_RSNR,
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2071,6 +2092,11 @@ OSD.chooseFields = function() {
|
||||||
F.OVER_CAP,
|
F.OVER_CAP,
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
if (semver.gte(FC.CONFIG.apiVersion, API_VERSION_1_45)) {
|
||||||
|
OSD.constants.WARNINGS = OSD.constants.WARNINGS.concat([
|
||||||
|
F.RSNR,
|
||||||
|
]);
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
OSD.updateDisplaySize = function() {
|
OSD.updateDisplaySize = function() {
|
||||||
|
|
Loading…
Reference in New Issue