Skip to content

Commit

Permalink
filter values
Browse files Browse the repository at this point in the history
  • Loading branch information
windytan committed Sep 30, 2016
1 parent 1c148af commit 95440c1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/subcarrier.cc
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ const int kInputBufferSize = 4096;
const int kSamplesPerSymbol = 3;
const float kAGCBandwidth_Hz = 900.0f;
const float kAGCInitialGain = 0.0077f;
const float kLowpassCutoff_Hz = 3100.0f;
const float kSymsyncBandwidth_Hz = 3700.0f;
const float kLowpassCutoff_Hz = 2600.0f;
const float kSymsyncBandwidth_Hz = 2400.0f;
const int kSymsyncDelay = 2;
const float kSymsyncBeta = 0.92f;
const float kPLLBandwidth_Hz = 0.2f;
const float kSymsyncBeta = 0.8f;
const float kPLLBandwidth_Hz = 0.8f;

}

Expand Down Expand Up @@ -97,7 +97,7 @@ void Subcarrier::demodulateMoreBits() {
#endif

unsigned biphase = modem_.demodulate(symbol);
nco_exact_.stepPLL(modem_.getPhaseError());
nco_exact_.stepPLL(modem_.getPhaseError() * 6.f);// factor is a quickfix

if (symbol_clock_ == 1) {
bit_buffer_.push_back(delta_decoder_.decode(biphase));
Expand Down

0 comments on commit 95440c1

Please sign in to comment.