Should not be clipping the error here.
authorTom <trondeau@vt.edu>
Tue, 6 Oct 2009 17:29:06 +0000 (10:29 -0700)
committerTom <trondeau@vt.edu>
Tue, 6 Oct 2009 17:29:06 +0000 (10:29 -0700)
gnuradio-core/src/lib/general/gr_mpsk_receiver_cc.cc

index 49bbb8d36048338d687339da480e0d116689fef1..89ea4a232c1f0bb2d91a52708f5c6ef7dd23515a 100644 (file)
@@ -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