Creating Python OOT with gr-modtool: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
No edit summary
No edit summary
Line 7: Line 7:
creates directory gr-ootmodule
creates directory gr-ootmodule


$ cd gr-ootmodule
<pre>$ cd gr-ootmodule
$ ls
$ ls</pre>


apps  cmake  CMakeLists.txt  docs  examples  grc  include  lib  MANIFEST.md  python
apps  cmake  CMakeLists.txt  docs  examples  grc  include  lib  MANIFEST.md  python

Revision as of 16:35, 8 March 2022

move to an appropriate directory for a new module create the oot-module, which is a collection of packages

$ gr_modtool newmod ootmodule

creates directory gr-ootmodule

$ cd gr-ootmodule
$ ls

apps cmake CMakeLists.txt docs examples grc include lib MANIFEST.md python

now need to create a block within the OOT module. the block to be created will either add or subtract based on an input parameter.

$ gr_modtool add addSubtractSelector

Given a questionaire about how to define the block.

GNU Radio module name identified: ootmodule ('sink', 'source', 'sync', 'decimator', 'interpolator', 'general', 'tagged_stream', 'hier', 'noblock')