From: Tom Date: Tue, 6 Oct 2009 17:29:06 +0000 (-0700) Subject: Should not be clipping the error here. X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=314726ae7457b37f442a2751285b75b0d616c0f4;p=debian%2Fgnuradio Should not be clipping the error here. --- diff --git a/gnuradio-core/src/lib/general/gr_mpsk_receiver_cc.cc b/gnuradio-core/src/lib/general/gr_mpsk_receiver_cc.cc index 49bbb8d3..89ea4a23 100644 --- a/gnuradio-core/src/lib/general/gr_mpsk_receiver_cc.cc +++ b/gnuradio-core/src/lib/general/gr_mpsk_receiver_cc.cc @@ -35,7 +35,7 @@ #define M_TWOPI (2*M_PI) #define VERBOSE_MM 0 // Used for debugging symbol timing loop -#define VERBOSE_COSTAS 0 // Used for debugging phase and frequency tracking +#define VERBOSE_COSTAS 1 // Used for debugging phase and frequency tracking // Public constructor @@ -265,8 +265,6 @@ gr_mpsk_receiver_cc::phase_error_tracking(gr_complex sample) // Make phase and frequency corrections based on sampled value phase_error = (*this.*d_phase_error_detector)(sample); - - phase_error = gr_branchless_clip(phase_error, 1.0); d_freq += d_beta*phase_error; // adjust frequency based on error d_phase += d_freq + d_alpha*phase_error; // adjust phase based on error