From 68bcd7305b51a6aa8bfdc0220da3b5ec9c2763a7 Mon Sep 17 00:00:00 2001 From: tracierenea <tracie.perez@mavs.uta.edu> Date: Sat, 12 Jul 2014 11:37:22 -0500 Subject: fec: LDPC: Adding 3 LDPC-related xml files for GRC. Also changed constructor for ldpc_par_chk_mtrx to take a filename string instead of pointer, because I think works better for GRC? Tried adding these blocks to the example flowgraph ber_curve_gen, and it runs, but the QT QUI Bercurve sink just displays a plot with points at 0,0. Still troubleshooting that... --- gr-fec/include/gnuradio/fec/ldpc_par_chk_mtrx.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gr-fec/include') diff --git a/gr-fec/include/gnuradio/fec/ldpc_par_chk_mtrx.h b/gr-fec/include/gnuradio/fec/ldpc_par_chk_mtrx.h index 61bed6ef57..5b9efea771 100644 --- a/gr-fec/include/gnuradio/fec/ldpc_par_chk_mtrx.h +++ b/gr-fec/include/gnuradio/fec/ldpc_par_chk_mtrx.h @@ -58,12 +58,12 @@ namespace gr { gsl_matrix *d_phi_inverse_ptr; // Read the matrix from a file in alist format - void read_matrix_from_file(const std::string *); + void read_matrix_from_file(const std::string filename); // Set the submatrix variables needed for encoding void set_parameters_for_encoding(); public: - ldpc_par_chk_mtrx(const std::string &filename, unsigned int gap); + ldpc_par_chk_mtrx(const std::string filename, unsigned int gap); // Default constructor, should not be used ldpc_par_chk_mtrx(); // Get the codeword length n -- cgit v1.2.3