feat(sat): the uplink keeps the correction the operator makes
A transponder does not translate by exactly the published difference — the oscillator on board is decades old on some birds and a kilohertz or two out. So an operator who sounds right to themselves comes back off frequency, corrects it on the transmit VFO, and the tracker put it back one second later, every second, for the rest of the pass. Reported on an IC-9700 against HRD, which keeps the shift the operator sets. The tracker already worked this way for the RECEIVER: it reads the dial back and treats a move as the operator choosing a new station. The transmitter had no equivalent — its comment even said so, "derived from the nominal and never argued with". Now it is read back too, and the difference becomes a standing trim on the nominal uplink. Applied to the nominal rather than the corrected frequency, because a translation error is a fixed offset in the uplink band and not something that scales with the Doppler. Read only while not transmitting: mid-over nobody is turning the knob, and on an Icom this read switches to the SUB band and back, which is the same path TuneSatellite already uses to write the uplink and not something to do under a carrier. Kept per satellite AND per transponder, because that is what it belongs to: the error is a property of the hardware in orbit, stable from one pass to the next. Capped at 20 kHz so a bad stored value cannot put the station outside the passband for ever, and shown in the tune panel with a reset — an offset taken silently from the VFO has to be visible, and the VFO alone cannot bring it back to zero once the operator has drifted somewhere wrong. SatTuner gains SatTransmitHz, implemented for the native Icom satellite mode and for the Flex uplink slice; anything else reports nothing and the uplink is left to the arithmetic, as before.
This commit is contained in:
Vendored
+4
@@ -600,6 +600,8 @@ export function GetSPEStatus():Promise<spe.Status>;
|
||||
|
||||
export function GetSatSettings():Promise<main.SatSettings>;
|
||||
|
||||
export function GetSatUplinkTrim(arg1:string,arg2:number):Promise<number>;
|
||||
|
||||
export function GetSatelliteBirds():Promise<Array<main.SatBird>>;
|
||||
|
||||
export function GetSatelliteGroundTrack(arg1:string,arg2:number):Promise<Array<sat.Position>>;
|
||||
@@ -1296,6 +1298,8 @@ export function SetPSUOutput(arg1:boolean):Promise<void>;
|
||||
|
||||
export function SetPassphrase(arg1:string):Promise<void>;
|
||||
|
||||
export function SetSatUplinkTrim(arg1:string,arg2:number,arg3:number):Promise<void>;
|
||||
|
||||
export function SetScpClublogEnabled(arg1:boolean):Promise<void>;
|
||||
|
||||
export function SetScpEnabled(arg1:boolean):Promise<void>;
|
||||
|
||||
@@ -1130,6 +1130,10 @@ export function GetSatSettings() {
|
||||
return window['go']['main']['App']['GetSatSettings']();
|
||||
}
|
||||
|
||||
export function GetSatUplinkTrim(arg1, arg2) {
|
||||
return window['go']['main']['App']['GetSatUplinkTrim'](arg1, arg2);
|
||||
}
|
||||
|
||||
export function GetSatelliteBirds() {
|
||||
return window['go']['main']['App']['GetSatelliteBirds']();
|
||||
}
|
||||
@@ -2522,6 +2526,10 @@ export function SetPassphrase(arg1) {
|
||||
return window['go']['main']['App']['SetPassphrase'](arg1);
|
||||
}
|
||||
|
||||
export function SetSatUplinkTrim(arg1, arg2, arg3) {
|
||||
return window['go']['main']['App']['SetSatUplinkTrim'](arg1, arg2, arg3);
|
||||
}
|
||||
|
||||
export function SetScpClublogEnabled(arg1) {
|
||||
return window['go']['main']['App']['SetScpClublogEnabled'](arg1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user