mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2026-06-18 05:38:38 -04:00
More WIP on Echo mode.
This commit is contained in:
@@ -7910,10 +7910,10 @@ void MainWindow::transmit (double snr)
|
||||
}
|
||||
|
||||
if(m_mode=="Echo") {
|
||||
//??? should use "fastMode = true" here ???
|
||||
Q_EMIT sendMessage (m_mode, 27, 1024.0, 1500.0, 0.0, m_soundOutput,
|
||||
m_config.audio_output_channel(),
|
||||
false, false, snr, m_TRperiod);
|
||||
m_echoFreq=1500.0;
|
||||
if(m_astroWidget->bDither()) m_echoFreq=1490.0 + QRandomGenerator::global()->bounded(20.0); //Dither by +/- 10 Hz
|
||||
Q_EMIT sendMessage (m_mode, 27, 1024.0, m_echoFreq, 0.0, m_soundOutput,
|
||||
m_config.audio_output_channel(), false, false, snr, m_TRperiod);
|
||||
}
|
||||
|
||||
// In auto-sequencing mode, stop after 5 transmissions of "73" message.
|
||||
@@ -8723,9 +8723,10 @@ void MainWindow::astroUpdate ()
|
||||
m_freqNominal,
|
||||
"Echo" == m_mode, m_transmitting,
|
||||
!m_config.tx_QSY_allowed (), m_TRperiod);
|
||||
qDebug() << "aa" << correction.tx << correction.rx << m_astroWidget->nfRIT()
|
||||
|
||||
qDebug() << "aa" << correction.rx << m_astroWidget->nfRIT()
|
||||
<< m_astroWidget->bDither() << m_config.transceiver_resolution ()
|
||||
<< m_freqNominal;
|
||||
<< m_freqNominal << m_echoFreq << correction.wself << correction.wdx;
|
||||
// no Doppler correction in Tx if rig can't do it
|
||||
if (m_transmitting && !m_config.tx_QSY_allowed ()) return;
|
||||
if (!m_astroWidget->doppler_tracking ()) return;
|
||||
|
||||
Reference in New Issue
Block a user