| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* qtgui: freq_sink waterfall_sink sink: Add bounds checking to GRC bindings
In addition:
fftsize starts in the runtime gui of the f/c sink with 512.
Adjust it to 32 , as in freq_sink_f/c
Check inside the sink_(f/c) block, if the fftsize is valid, to avoid core dump.
Signed-off-by: Volker Schroer <3470424+dl1ksv@users.noreply.github.com>
* qtgui: freq_sink waterfall_sink sink: Add power-of-two check to GRC bindings
Signed-off-by: Volker Schroer <3470424+dl1ksv@users.noreply.github.com>
|
|
|
|
| |
Signed-off-by: Josh Morman <jmorman@gnuradio.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gr-qtgui: Frequency sink freezes the running flowgraph
With #5405 the segfault of freq_sink_c was fixed, but
if you enable the control panel and change the FFT size to 8192
while the flow graph is running, the whole flowgraph freezes.
This patch:
- fixes the freeze
- extends the fftsize to 32768 for freq_sink_c and freq_sink_f
- changes the entry for fftsize in the corresponding yml files from integer to enum
and provides a drop down menu with those values that are provided by the gui
in the running flowgraph.
The code provides code for setting the fftsize in form_menus.h and in freqcontrolpanel.cc
If you change some signal and slots you can do without the code from form_menus.h.
So this part is removed.
Signed-off-by: Volker Schroer <3470424+dl1ksv@users.noreply.github.com>
* Keep fftsize list, but move type back to int
Signed-off-by: Volker Schroer <3470424+dl1ksv@users.noreply.github.com>
* Use const vars for fft range.
Build the fftsize list from those vars
Signed-off-by: Volker Schroer <3470424+dl1ksv@users.noreply.github.com>
* As the fftsize must not be taken from the dropdown menu
but can be set to a variable, check if the value belongs
to the dropdown menu, otherwise select the greatest value
in the menu < given fftsize.
Signed-off-by: Volker Schroer <3470424+dl1ksv@users.noreply.github.com>
* qtgui: fixed error text on freq sinks
Signed-off-by: Josh Morman <jmorman@gnuradio.org>
* qtgui: add assert into freq grc file
Co-authored-by: Josh Morman <jmorman@gnuradio.org>
|
|
|
|
| |
Signed-off-by: Volker Schroer <3470424+dl1ksv@users.noreply.github.com>
|
|
|
|
| |
Signed-off-by: Clayton Smith <argilo@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* When cross compiling gnuradio, change how the test files are built.
Normally, the gnuradio QA code expects to run in the build tree. For the
cross compilng case, we cannot run the QA code during the build process.
The changes here allow the creation of an additional package that can be
installed on a target that will run the QA code against the installed
libraries.
Major changes are not using full paths to test files (since they include
paths that only exist on the build machine) and not setting environment
variables in the shell files to force the QA code to use code in the
build tree.
This patch disables the C++ only tests, these need some work and then they
can be added back for the cross compile case.
Signed-off-by: Philip Balister <philip@balister.org>
|
|
|
|
| |
Signed-off-by: Josh Morman <jmorman@gnuradio.org>
|
|
|
|
|
|
| |
Author: Chris Vine <vine35792468@gmail.com>
Signed-off-by: Jeff Long <willcode4@gmail.com>
|
|
|
|
|
|
| |
Adds the typedefs and includes needed to build with Qwt 6.2.
Signed-off-by: Bill Muzika <bill.muzika@outlook.com>
|
|
|
|
|
|
| |
This reverts commit cf04ca2132d6eff7f807a10141596389afcfbcd5.
Signed-off-by: Josh Morman <jmorman@peratonlabs.com>
|
|
|
|
|
|
|
| |
The qwidget() method of ber_sink_b had previously not been declared part
of the public API, thus preventing its use from python.
Signed-off-by: David Winter <david.winter@analog.com>
|
|
|
|
|
|
| |
Adds the typedefs and includes needed to build with Qwt 6.2.
Signed-off-by: Bill Muzika <bill.muzika@outlook.com>
|
|
|
|
|
|
| |
See #5016
Signed-off-by: Volker Schroer <3470424+dl1ksv@users.noreply.github.com>
|
|
|
|
| |
Signed-off-by: Josh Morman <jmorman@peratonlabs.com>
|
|
|
|
|
|
|
| |
Number Sink takes a size, rather than a type, and does not support int32.
It assumes items of size 4 are floats.
Signed-off-by: Jeff Long <willcode4@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
in the classic modules:
audio
blocks
digital
dtv
fec
fft
filter
qtgui
trellis/fsm
uhd
video-sdl
vocoder/freedv_rx
Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously, two versions of the `qtwidget` functions existed,
`qwidget()` and `pyqwidget()`, with the only difference being that
`qwidget()` returned a pointer to the `QWidget` object managed by the
corresponding block, while `pyqwidget()` returned that same pointer, but as
an integer (Or `PyLong` in this case).
While `qwidget()` is used by C++ code accessing the widgets,
`pyqwidget()` is only used for the python interface. This makes these
two methods redundant, thus this commit entirely removes `pyqwidget()`,
and modifies the `qwidget()` python wrapper to behave like
`pyqwidget()`. Note that we can be fairly confident that this change
will not effect potential users of `qwidget()`, because any invocation
on the objects previously returned by `qwidget()` would cause a
segmentation fault.
This commit also fixes a memory leak:
Internally, the `pyqwidget()` functions were returning a PyLong `PyObject *`,
which was then upwrapped in a pybind trampoline without decrementing
the reference count of that python object.
Signed-off-by: David Winter <david.winter@analog.com>
|
|
|
|
|
|
| |
This is required for compatibility with Ubuntu 18.04 LTS.
Signed-off-by: Ron Economos <w6rz@comcast.net>
|
|
|
|
|
|
|
| |
This commit contains all the additions to gr-*/lib/CMakeLists.txt
applicable to modules already present in 3.8.
Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
|
|
|
|
|
|
|
|
|
|
| |
Add some more cpp templates to gr-qtgui and make use of gui_hint
to position the windows.
Modify 2 python examples to c++ examples and put them into the
example/c++ directory.
Signed-off-by: Volker Schroer <3470424+dl1ksv@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
At the moment some qtgui windows do support only very simple gui hints, as
the parse_gui_hint in param.py generates independently of the output language
only python code.
This is fixed here, so the gui_hint() can be used in cpp code generation.
To test more complex gui hints the qtgui_tab_widget was extended to cpp.
After that compiling the generated cpp code for some examples led to
/usr/include/python3.9/object.h:206:23: Fehler: expected unqualified-id before »;« token
206 | PyType_Slot *slots; /* terminated by slot==0. */
This is a known error and can be fixed by
ifdef ENABLE_PYTHON
pragma push_macro("slots")
undef slots
include "Python.h"
pragma pop_macro("slots")
endif
instead of simply
ifdef ENABLE_PYTHON
include "Python.h"
endif
which was applied to the corresponding gr-qtgui header files.
Signed-off-by: Volker Schroer <3470424+dl1ksv@users.noreply.github.com>
|
|
|
|
|
|
| |
Also one in analog, and an overachieving set of quotes in qtgui.
Signed-off-by: Jeff Long <willcode4@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
check_set_qss is part of the public qtgui headers, but hasn't been
declared part of the public API as of now. This is unfortunate, because
when bootstrapping a Qt application, this function should be called to
apply a qt gui stylesheet as defined in the config.
This commit adds that function to the public api to allow external Qt
GUI widgets to behave in a manner that's compatible with the in-tree
widgets.
Signed-off-by: David Winter <david.winter@analog.com>
|
|
|
|
|
| |
* qtgui: display tags on the last sample fixes #2775
Signed-off-by: Jason Uher <jason.uher@jhuapl.edu>
|
|
|
|
|
|
|
|
| |
used command:
sed -i '/^#include.*boost.*$/d' $(ag -L '(boost::|BOOST)' $(ag --cpp -l '#include <boost'))
Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
|
|
|
|
| |
Signed-off-by: Volker Schroer <3470424+dl1ksv@users.noreply.github.com>
|
|
|
|
| |
Signed-off-by: Volker Schroer <3470424+dl1ksv@users.noreply.github.com>
|
|
|
|
| |
Signed-off-by: Volker Schroer <3470424+dl1ksv@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
| |
grc: cpp generation
set correct link entry in yml files for modern cmake.
Applying this fix simple flowgraphs containing signal sources and audi sinks etc. build and run
Signed-off-by: Volker Schroer <3470424+dl1ksv@users.noreply.github.com>
|
|
|
|
| |
Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
|
|
|
|
| |
Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
|
|
|
|
| |
Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
|
|
|
|
| |
Signed-off-by: Volker Schroer <3470424+dl1ksv@users.noreply.github.com>
|
|
|
|
| |
Signed-off-by: 0xloem <0xloem@gmail.com>
|
|
|
|
|
|
|
| |
Messages should be constructed using double values instead of float
to avoid loss of precision.
Signed-off-by: Jeff Long <willcode4@gmail.com>
|
|
|
|
| |
Signed-off-by: Ryan Volz <ryan.volz@gmail.com>
|
|
|
|
| |
Signed-off-by: Thomas Habets <thomas@habets.se>
|
|
|
|
| |
Signed-off-by: Thomas Habets <thomas@habets.se>
|
|
|
|
| |
Signed-off-by: Thomas Habets <thomas@habets.se>
|
|
|
|
| |
Signed-off-by: Thomas Habets <thomas@habets.se>
|
|
|
|
| |
Signed-off-by: Thomas Habets <thomas@habets.se>
|
|
|
|
| |
Signed-off-by: Thomas Habets <thomas@habets.se>
|
|
|
|
| |
Signed-off-by: Thomas Habets <thomas@habets.se>
|
|
|
|
| |
Signed-off-by: Thomas Habets <thomas@habets.se>
|
|
|
|
| |
Signed-off-by: Thomas Habets <thomas@habets.se>
|
|
|
|
| |
Signed-off-by: Thomas Habets <thomas@habets.se>
|
|
|
|
| |
Signed-off-by: Ron Economos <w6rz@comcast.net>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The following have been moved to the new gr::pdu module or to
gr::network and are no longer needed in gr::blocks:
- pdu (noblock)
- pdu_filter block
- pdu_remove block
- pdu_set block
- pdu_to_tagged_stream block
- random_pdu block
- socket_pdu block
- stream_pdu_base (noblock)
- tagged_stream_to_pdu block
- tcp_connection (noblock)
- tuntap_pdu block
The digital and FEC modules had a large number of references to the PDU
blocks that were moved from gr-blocks to gr-pdu, this updates these
changes in example flowgraphs and a few python files. The usage-manual
update will be propagated to the wiki so that future exports will remain
up to date.
Signed-off-by: Jacob Gilbert <jacob.gilbert@protonmail.com>
|
|
|
|
|
|
| |
Fixes #4402
Signed-off-by: Thomas Habets <habets@google.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Problem introduced in
4b7006db76b570e4d916e263301333d2f4d2a2df. `d_cbuffers` and `d_buffers`
are not the same size.
It appears to be the only instance of this mistake in that commit.
Fixes: #4396
Signed-off-by: Thomas Habets <habets@google.com>
|