| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Josh Morman <jmorman@gnuradio.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
fixes #4788
fixes #5100
fixes #5108
Tested with the coresponding examples.
Now disabling or deleting the symbol_rate block in #4788 correctly
updates the depending blocks
Signed-off-by: Volker Schroer <3470424+dl1ksv@users.noreply.github.com>
|
|
|
|
|
|
|
|
| |
The gr-digital/examples/tx_ofdm.grc fails to evaluate the
header_formater variable.
This pr fixes #4937
Signed-off-by: Volker Schroer <3470424+dl1ksv@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If we want disabled blocks to be updated properly,
we have to consider all blocks when updating the fg not only the enabled.
This does the patch of Flowgraph.py and fixes #4788.
But a problem remains.
If you use the example in #4788 and disable the symbol_rate block,
only the samp_rate block 'turns to red'.
The other blocks don't change.
Only if you open and close an arbitrary block, the other blocks are updated.
This is fixed by clearing the namespace in renew_namespace in FlowGraph.py.
Signed-off-by: Volker Schroer <3470424+dl1ksv@users.noreply.github.com>
grc: update disabled blocks
Signed-off-by: Volker Schroer <3470424+dl1ksv@users.noreply.github.com>
|
|
|
|
| |
Signed-off-by: Volker Schroer <3470424+dl1ksv@users.noreply.github.com>
|
|
|
|
|
|
|
| |
* Fix various typos
Found via `codespell v2.0.dev`
`codespell -q 3 -L ans,fo,hist,inout,ist,ith,nd,sinc,uint -S ./volk`
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
All of the removed `from __future__ import` were needed in older
versions of Python (mostly 2.5.x and below) but later became mandatory
in most versions of Python 3 hence are not necessary anymore.
More specifically, according to __future__.py[1]:
- unicode_literals is part of Python since versions 2.6.0 and 3.0.0;
- print_function is part of Python since versions 2.6.0 and 3.0.0;
- absolute_import is part of Python since versions 2.5.0 and 3.0.0;
- division is part of Python since versions 2.2.0 and 3.0.0;
Get rid of those unnecessary imports to slightly clean up the codebase.
[1] https://github.com/python/cpython/blob/master/Lib/__future__.py
|
|
|
|
|
|
|
|
|
|
|
| |
This feature adds the ability to insert arbitrary code into the python
flowgraph. It gives a little more low-level flexibility for quickly
modifying flowgraphs and adding custom bits of code rather than having
to go and edit the generated py file
One example is synchronizing multiple USRP objects - sometimes you want
different sync than what is offered in the multi-usrp object, so you can
put a bit of code in the snippet block to do the custom synchronization
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Was getting lots of evaluation error prints when using gr-digital
examples because the nested variables were not updated until rewrite()
and evaluate were called over and over
Seems to fix the issue to update the flowgraph namespace variable after
each variable block is evaluated
I believe this also alleviates a previous issue (#2634) where rewrite
had to be called twice when data was being imported
Fixes #2634
|
| |
|
|
|
| |
variable blocks without a param value need to be updated otherwise the variable_block.namespace is wrong
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Found via `codespell -q 3 -L ans,sinc,hist,ist,ith,uint,fo -S ./volk`
Fix typos in gnuradio-runtime/
Fix typos in gr-digital/
Fix typos in gr-qtgui/
Fix typos in gr-channels/
Fix typos in grc/
Fix typos gr-filter/
Fix typos in gr-uhd/
Fix typos in gr-blocks/
Fix typos in gr-fec/
|
|
|
|
|
|
|
|
| |
Bus ports had not been added back in since the refactor of grc
Hopefully this fully enables busports though there are still some
issues with the gr-fec flowgraphs
Fixes #2277
|
|
|
|
| |
useful for variable and parameter blocks, but maybe others too
|
| |
|
| |
|
|
|
|
|
| |
Before this fix, it was not possible to add a 'Python Module' to a GRC
flow graph, it would just throw exceptions when you tried.
|
|\
| |
| |
| |
| | |
Flowgraphs with basic blocks can be created in the GNU Radio Companion and exported to a single C++ binary.
The use of the C++ generation is still experimental and needs testing and extension to more parts of the GNU Radio codebase.
|
| | |
|
|/
|
|
|
|
|
|
| |
We do not have a good way right now to determine if an import is for a
hier block, these imports will fail as they are not in the search path
this is ok behavior, unfortunately we could be hiding other import bugs.
Fixes #2183
|
| |
|
| |
|
|
|
|
|
| |
imp module is deprecated as of Python 3.4 but in Python3 we can
use the ModuleType to create a new module.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Includes basic converter from XML/Cheetah to YAML/Mako based block format.
|
|\ |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
|/ |
|