User talk:Duggabe

From GNU Radio
Revision as of 02:37, 20 January 2020 by Duggabe (talk | contribs)
Jump to: navigation, search

This is for notes on GR documentation.

I think Guided_Tutorial_GNU_Radio_in_C++ can be used now for the Writing blocks in C++ (for 3.7)

see Cyrille and my discussion on Slack #docs on Wednesday 1/15 about Writing the XML file for a block (for 3.7)

I added a gnuradio-companion error msg in


~ $ gr_modtool newmod tutorial
Creating out-of-tree module in ./gr-tutorial...
Use 'gr_modtool add' to add a new block to this currently empty module.
~/gr-tutorial $ ls
apps  cmake  CMakeLists.txt  docs  examples  grc  include  lib  python  swig
~/gr-tutorial $ gr_modtool add my_qpsk_demod_cb
GNU Radio module name identified: tutorial
('sink', 'source', 'sync', 'decimator', 'interpolator', 'general', 'tagged_stream', 'hier', 'noblock')
Enter block type: general
Language (python/cpp): cpp
Language: C++
Block/code identifier: my_qpsk_demod_cb
Please specify the copyright holder:
Enter valid argument list, including default arguments: 
bool gray_code
Add Python QA code? [Y/n] Y
Add C++ QA code? [y/N] N
Adding file 'lib/my_qpsk_demod_cb_impl.h'...
Adding file 'lib/'...
Adding file 'include/tutorial/my_qpsk_demod_cb.h'...
Editing swig/tutorial_swig.i...
Adding file 'python/'...
Editing python/CMakeLists.txt...
Adding file 'grc/tutorial_my_qpsk_demod_cb.block.yml'...
Editing grc/CMakeLists.txt...
  • and, of course, we need the YAML file instead of the XML file