Coder Social home page Coder Social logo

ghostop14 / gr-lfast Goto Github PK

View Code? Open in Web Editor NEW
35.0 5.0 9.0 1.25 MB

Performance-enhanced GNURadio blocks (2nd/4th Order Costas Loops, AGC, Filters)

License: GNU General Public License v3.0

CMake 3.33% C 1.28% C++ 94.74% Python 0.66%
costas-loop gnuradio sdr

gr-lfast's People

Contributors

bkerler avatar ghostop14 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

gr-lfast's Issues

Test program

Hi ,
Is there any test program or GRC flow graph for becnhmarking this block ?

Is gr-lfast now faster than gr-clenabled?

With the new improvements, Is gr-lfast now faster than gr-clenabled for the costas loop for block sizes faster than 8192?
Can you add performance measurements for extremely large blocks (like 2^20)

Build error for GR-3.9

GR 3.9.4.0
Debian-testing, x86_64
gcc version 11.2.0 (Debian 11.2.0-12)
Boost 1.74

Hi! I have make fail with next error:

[  2%] Building CXX object lib/CMakeFiles/gnuradio-lfast.dir/costas2_impl.cc.o
/opt/gr-lfast/lib/costas2_impl.cc: In constructor ‘gr::lfast::costas2_impl::costas2_impl(float, int, bool)’:
/opt/gr-lfast/lib/costas2_impl.cc:84:89: error: ‘_1’ was not declared in this scope
   84 |         set_msg_handler(pmt::mp("msgin"), boost::bind(&costas2_impl::handleMsgIn, this, _1) );
      |                                                                                         ^~
/opt/gr-lfast/lib/costas2_impl.cc:84:89: note: suggested alternatives:
In file included from /usr/include/boost/mpl/aux_/include_preprocessed.hpp:37,
                 from /usr/include/boost/mpl/placeholders.hpp:43,
                 from /usr/include/boost/iterator/iterator_categories.hpp:16,
                 from /usr/include/boost/iterator/iterator_facade.hpp:13,
                 from /usr/include/boost/filesystem/path.hpp:29,
                 from /usr/include/boost/filesystem.hpp:16,
                 from /usr/include/gnuradio/logger.h:34,
                 from /usr/include/gnuradio/basic_block.h:16,
                 from /usr/include/gnuradio/block.h:15,
                 from /usr/include/gnuradio/sync_block.h:15,
                 from /opt/gr-lfast/lib/../include/lfast/costas2.h:26,
                 from /opt/gr-lfast/lib/costas2_impl.h:24,
                 from /opt/gr-lfast/lib/costas2_impl.cc:27:
/usr/include/boost/mpl/aux_/preprocessed/gcc/placeholders.hpp:29:16: note:   ‘mpl_::_1’
   29 | typedef arg<1> _1;
      |                ^~
In file included from /usr/include/boost/system/error_code.hpp:19,
                 from /usr/include/boost/filesystem/path_traits.hpp:22,
                 from /usr/include/boost/filesystem/path.hpp:26,
                 from /usr/include/boost/filesystem.hpp:16,
                 from /usr/include/gnuradio/logger.h:34,
                 from /usr/include/gnuradio/basic_block.h:16,
                 from /usr/include/gnuradio/block.h:15,
                 from /usr/include/gnuradio/sync_block.h:15,
                 from /opt/gr-lfast/lib/../include/lfast/costas2.h:26,
                 from /opt/gr-lfast/lib/costas2_impl.h:24,
                 from /opt/gr-lfast/lib/costas2_impl.cc:27:
/usr/include/c++/11/functional:225:34: note:   ‘std::placeholders::_1’
  225 |     extern const _Placeholder<1> _1;
      |                                  ^~
In file included from /usr/include/boost/mpl/aux_/include_preprocessed.hpp:37,
                 from /usr/include/boost/mpl/placeholders.hpp:43,
                 from /usr/include/boost/iterator/iterator_categories.hpp:16,
                 from /usr/include/boost/iterator/iterator_facade.hpp:13,
                 from /usr/include/boost/filesystem/path.hpp:29,
                 from /usr/include/boost/filesystem.hpp:16,
                 from /usr/include/gnuradio/logger.h:34,
                 from /usr/include/gnuradio/basic_block.h:16,
                 from /usr/include/gnuradio/block.h:15,
                 from /usr/include/gnuradio/sync_block.h:15,
                 from /opt/gr-lfast/lib/../include/lfast/costas2.h:26,
                 from /opt/gr-lfast/lib/costas2_impl.h:24,
                 from /opt/gr-lfast/lib/costas2_impl.cc:27:
/usr/include/boost/mpl/aux_/preprocessed/gcc/placeholders.hpp:29:16: note:   ‘mpl_::_1’
   29 | typedef arg<1> _1;
      |                ^~
In file included from /usr/include/boost/bind/bind.hpp:2356,
                 from /usr/include/boost/thread/detail/thread.hpp:33,
                 from /usr/include/boost/thread/thread_only.hpp:22,
                 from /usr/include/boost/thread/thread.hpp:12,
                 from /usr/include/boost/thread.hpp:13,
                 from /usr/include/gnuradio/logger.h:36,
                 from /usr/include/gnuradio/basic_block.h:16,
                 from /usr/include/gnuradio/block.h:15,
                 from /usr/include/gnuradio/sync_block.h:15,
                 from /opt/gr-lfast/lib/../include/lfast/costas2.h:26,
                 from /opt/gr-lfast/lib/costas2_impl.h:24,
                 from /opt/gr-lfast/lib/costas2_impl.cc:27:
/usr/include/boost/bind/placeholders.hpp:46:38: note:   ‘boost::placeholders::_1’
   46 | BOOST_STATIC_CONSTEXPR boost::arg<1> _1;
      |                                      ^~
In file included from /usr/include/boost/mpl/aux_/include_preprocessed.hpp:37,
                 from /usr/include/boost/mpl/placeholders.hpp:43,
                 from /usr/include/boost/iterator/iterator_categories.hpp:16,
                 from /usr/include/boost/iterator/iterator_facade.hpp:13,
                 from /usr/include/boost/filesystem/path.hpp:29,
                 from /usr/include/boost/filesystem.hpp:16,
                 from /usr/include/gnuradio/logger.h:34,
                 from /usr/include/gnuradio/basic_block.h:16,
                 from /usr/include/gnuradio/block.h:15,
                 from /usr/include/gnuradio/sync_block.h:15,
                 from /opt/gr-lfast/lib/../include/lfast/costas2.h:26,
                 from /opt/gr-lfast/lib/costas2_impl.h:24,
                 from /opt/gr-lfast/lib/costas2_impl.cc:27:
/usr/include/boost/mpl/aux_/preprocessed/gcc/placeholders.hpp:29:16: note:   ‘mpl_::_1’
   29 | typedef arg<1> _1;
      |                ^~
make[2]: *** [lib/CMakeFiles/gnuradio-lfast.dir/build.make:76: lib/CMakeFiles/gnuradio-lfast.dir/costas2_impl.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:236: lib/CMakeFiles/gnuradio-lfast.dir/all] Error 2
make: *** [Makefile:146: all] Error 2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.