hamnet70-gnuradio-legacy/gr-hamnet70/swig/hamnet70_swig.i
Thomas Kolb cd9784efb6 Added frequency estimator blocks
- correct_frequency: Correct frequency by averaging the phase drift on
                     the preamble
- freq_est_lr: Luise & Reggiannini frequency estimator
- pid_controller: a PID controller that takes error values at the input
                  and generates steering values at the output

The combination of freq_est_lr and PID controller can be used together
with an NCO (signal source) to create a closed control loop for
frequency offset compensation.
2019-07-23 23:16:48 +02:00

27 lines
674 B
C++

/* -*- c++ -*- */
#define HAMNET70_API
%include "gnuradio.i" // the common stuff
//load generated python docstrings
%include "hamnet70_swig_doc.i"
%{
#include "hamnet70/correct_phase_from_tag.h"
#include "hamnet70/correct_frequency.h"
#include "hamnet70/freq_est_lr.h"
#include "hamnet70/pid_controller.h"
%}
%include "hamnet70/correct_phase_from_tag.h"
GR_SWIG_BLOCK_MAGIC2(hamnet70, correct_phase_from_tag);
%include "hamnet70/correct_frequency.h"
GR_SWIG_BLOCK_MAGIC2(hamnet70, correct_frequency);
%include "hamnet70/freq_est_lr.h"
GR_SWIG_BLOCK_MAGIC2(hamnet70, freq_est_lr);
%include "hamnet70/pid_controller.h"
GR_SWIG_BLOCK_MAGIC2(hamnet70, pid_controller);