Ready Mode

Ready Mode allows the pilot to signal they are ready. Ideal for race
lines so all pilots are ready to race.
10.9-maintenance
Jon Mahoney 2022-10-19 22:15:27 -04:00
parent a49a6b98ba
commit adc3114b40
2 changed files with 18 additions and 0 deletions

View File

@ -5412,6 +5412,13 @@
"osdDescTxUplinkPower": {
"message": "Shows a value of the Tx power (mW or W). Useful when <i>Dynamic Power</i> is enabled for supporting radios"
},
"osdTextElementReadyMode": {
"message": "Ready Mode",
"description": "When active READY will be displayed until flying"
},
"osdDescElementReadyMode": {
"message": "When active READY will be displayed until flying"
},
"osdTextElementUnknown": {
"message": "Unknown $1",
"description": "One of the elements of the OSD"

View File

@ -938,6 +938,15 @@ OSD.loadDisplayFields = function() {
positionable: true,
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: {
name: 'ROLL_ANGLE',
text: 'osdTextElementRollAngle',
@ -1663,6 +1672,7 @@ OSD.chooseFields = function() {
F.GPS_SATS,
F.ALTITUDE,
]);
if (semver.gte(FC.CONFIG.apiVersion, API_VERSION_1_31)) {
OSD.constants.DISPLAY_FIELDS = OSD.constants.DISPLAY_FIELDS.concat([
F.PID_ROLL,
@ -1748,6 +1758,7 @@ OSD.chooseFields = function() {
if (semver.gte(FC.CONFIG.apiVersion, API_VERSION_1_45)) {
OSD.constants.DISPLAY_FIELDS = OSD.constants.DISPLAY_FIELDS.concat([
F.WH_DRAWN,
F.READY_MODE,
]);
}
}