21 #ifndef INCLUDED_SATNOGS_DOPPLER_CORRECTION_CC_IMPL_H 22 #define INCLUDED_SATNOGS_DOPPLER_CORRECTION_CC_IMPL_H 26 #include <gnuradio/fxpt_nco.h> 34 const double d_target_freq;
35 const double d_offset;
36 const double d_samp_rate;
37 const size_t d_update_period;
38 const size_t d_est_thrhld;
39 const size_t d_corrections_per_sec;
44 size_t d_freq_est_num;
46 size_t d_corrected_samples;
47 double *d_predicted_freqs;
48 gr_complex *d_nco_buff;
52 new_freq(pmt::pmt_t msg);
55 reset(pmt::pmt_t msg);
61 size_t corrections_per_sec);
66 work(
int noutput_items, gr_vector_const_void_star &input_items,
67 gr_vector_void_star &output_items);
doppler_correction_cc_impl(double target_freq, double offset, double sampling_rate, size_t corrections_per_sec)
int work(int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
Definition: amsat_duv_decoder.h:29
Definition: doppler_correction_cc_impl.h:32
Doppler frequency fitting using Lagrange extrapolation.
Definition: doppler_fit.h:35
~doppler_correction_cc_impl()
This block corrects the doppler effect between the ground station and the satellite. It takes the input stream in baseband and applies proper corrections to keep the carrier at the desired frequency. To achieve that it uses messages containing the absolute predicted frequency of the satellite from software like Gpredict.
Definition: doppler_correction_cc.h:40