Creating Python OOT with gr-modtool: Difference between revisions
Mattcarrick (talk | contribs) No edit summary |
Mattcarrick (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
This tutorial uses v3.10.1.1 | |||
move to an appropriate directory for a new module | move to an appropriate directory for a new module | ||
Line 7: | Line 9: | ||
creates directory gr-ootmodule | creates directory gr-ootmodule | ||
<pre>$ cd gr-ootmodule | Move into the directory: | ||
$ ls</pre> | <pre>$ cd gr-ootmodule</pre> | ||
List all of the files and directories within the OOT module: | |||
<pre>$ ls</pre> | |||
The directory listing will be as follows: | |||
apps cmake CMakeLists.txt docs examples grc include lib MANIFEST.md python | 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. | 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. |
Revision as of 16:37, 8 March 2022
This tutorial uses v3.10.1.1
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
Move into the directory:
$ cd gr-ootmodule
List all of the files and directories within the OOT module:
$ ls
The directory listing will be as follows:
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')