- use TimingGeneratorGardner

git-svn-id: http://moon:8086/svn/software/trunk/libsrc/cpp@984 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
2022-06-15 10:53:37 +00:00
parent 68ec11ce6e
commit 6203cabecf
+3 -2
View File
@@ -110,8 +110,9 @@ class TimingGeneratorGardner : public Interpolation::TimingGenerator
// Symbol timing recovery // Symbol timing recovery
vd = STRGardnerProcess(&m_SymbolTimingRevovery, toCpx(iq)); vd = STRGardnerProcess(&m_SymbolTimingRevovery, toCpx(iq));
vc = LeadLagProcess(&loop_filter_str, &str_loopfilter_coeff, vd); vc = LeadLagProcess(&loop_filter_str, &str_loopfilter_coeff, vd);
cout << "Vd = " << vd << ", Vc = " << vc << endl;
// setOmega(vc); setOmega(vc);
update(); update();
} }
}; };
@@ -124,7 +125,7 @@ void test()
farrow.load("/home/jens/farrow_coeff.dat"); farrow.load("/home/jens/farrow_coeff.dat");
// Setup timing generator // Setup timing generator
Interpolation::TimingGenerator timingGenerator; TimingGeneratorGardner timingGenerator;
timingGenerator.setOmega(1.0); timingGenerator.setOmega(1.0);
// Setup IQ data // Setup IQ data