gnuradio | GNU Radio – the Free and Open Software Radio Ecosystem | Navigation library
kandi X-RAY | gnuradio Summary
kandi X-RAY | gnuradio Summary
GNU Radio is a free & open-source software development toolkit that provides signal processing blocks to implement software radios. It can be used with readily-available, low-cost external RF hardware to create software-defined radios, or without hardware in a simulation-like environment. It is widely used in hobbyist, academic, and commercial environments to support both wireless communications research and real-world radio systems.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of gnuradio
gnuradio Key Features
gnuradio Examples and Code Snippets
Community Discussions
Trending Discussions on gnuradio
QUESTION
I would like to set the stopband attenuation value for a bandpass filter in GNU Radio Companion. The standard Band Pass Filter block does not allow to set this parameter, but uses a default.
Does anybody know how this could be done?
I tried the following:
- searched for various filter blocks and filter tap calculator blocks in GNU Radio Companion: could not find any that allows to set this parameter, even though the underlying filter coefficient calculator functions have such input.
- created an Embedded Python Block and tried to use it to wrap the filter coefficient calculator (gnuradio.filter.optfir.complex_band_pass) that allows setting this parameter and the filter (gnuradio.filter.fft_filter_ccc) that uses the coefficients to do the filtering. Somehow the filter's work method cannot be called properly from the wrapper block's work method.
ANSWER
Answered 2022-Apr-08 at 14:53you don't need to write an embedded block to use the Filter design tools GNU Radio brings – you can just use Python as the "taps" parameter of an existing FIR filter block (instead of just typing in your filter tap vector, e.g. [1,2,3,4]
), i.e., add an "Import" block, where you from gnuradio.filter import optfir
, and use optfir.whatever(...)
as "Taps" parameter.
Other than that, GNU Radio's forte is not designing specialized filters, honestly :) I do recomment the excellent pyFDA; I'd install it locally using
QUESTION
I'm trying to create a yocto recipe to add gnu radio on my raspberrypi 4 but I get the following error when I generate my image:
...ANSWER
Answered 2022-Apr-03 at 14:24QUESTION
System:debian 11,Gnuradio 3.8.10,python 3.8.10
I try to use meta file sink
block to record the raw IQ data with meta data.
grc file as below:
ANSWER
Answered 2022-Feb-03 at 11:47QUESTION
I want to run the application "gnuradio-companion". I can do this without problems by executing sudo gnuradio-companion. But I do not want to run this with sudo. If I try to run without sudo I get the following. Can you help please?
...ANSWER
Answered 2022-Jan-26 at 09:36QUESTION
When I launch a python code from C code, there are many threads that do not stop at the end of the execution of the Python code:
...ANSWER
Answered 2022-Jan-25 at 10:19Perhaps gnuradio creates threads from its own C API? – user23952
Exactly. GNU Radio is a heavily multithreaded application.
Can you explain to me how to detect threads created by python and kill them?
You can "kill" processes, you can't "kill" threads - you can interrupt/join them (which is akin in the sense that it means they don't get scheduled anymore, but different in the sense that the resources allocated to them don't disappear – because threads don't hold own resources (aside from a stack), it's the process that does.
Note that existing threads in themselves are not inherently a problem - it's perfectly normal for a program to have dormant threads that get cleaned up on exit by the operating system and not earlier; threads serve various purposes, including things like handling signals, waiting for RPC connections, managing other resources... which might not even occur in your case.
Do you know how to exit the gr-osmosdr block properly?
This might very well be a problem of the specific driver source encapsulated in the osmosdr source.
Probably this all exits "properly", you've not actually described anything that goes wrong!
QUESTION
I am trying to create a custom block in GNU Radio which also needs to use UHD. As mentioned at this link, I added the following line to gr-module/CMakeLists.txt:
...ANSWER
Answered 2022-Jan-04 at 11:58You can't them (you could look for Volk
instead of VOLK
, but it might break things in other places) - you also don't have to, it's just warnings, so no action is needed.
QUESTION
I need to modify the UHD code and then need to make that code work with gnuradio-companion. For this, I built UHD from source and made the required modifications.
The next step would have been to build GNU Radio by source. But the installation steps mentioned in the tutorial do not seem to take UHD into account here. Also, the change in UHD is not being detected in an already installed version of GNU radio.
How do I make GNU Radio work with the modified UHD code?
...ANSWER
Answered 2021-Nov-23 at 13:32you need to uninstall your currently installed GNU Radio, your currently installed UHD (make doubly sure you've removed both), then you need to install your self-built UHD, then build and install GNU Radio. Make sure not to accidentally install your operating system's UHD again!
You cannot make a GNU Radio that was built with a different version of UHD work with your version; you need to built it.
QUESTION
Using GNU Radio Companion 3.9.4.0.
My application has a "QT GUI Range" block. When the Widget is set to "Counter + Slider" I get the error
...ANSWER
Answered 2021-Nov-23 at 02:28Your traceback shows that the file C:\Users\User1\miniforge3\envs\gnuradio\lib\site-packages\gnuradio\qtgui\range.py
has this line:
QUESTION
I have another question. I have been following a tutorial for creating a QPSK demodulator. Here is the link: https://wiki.gnuradio.org/index.php/Guided_Tutorial_GNU_Radio_in_C%2B%2B I was able to fix a different issue and fixed a warning that I was receiving but, a new problem has come about and I can't seem to fix it. Here is the error:
...ANSWER
Answered 2021-Nov-17 at 16:27I think you are missing swig/dependencies or PYTHONPATH. I had the same issue, and was able to resolve it by following these fixes:
- Install dependencies specific to your environment (including
swig
): https://wiki.gnuradio.org/index.php/UbuntuInstall#Bionic_Beaver_.2818.04.29_through_Eoan_Ermine_.2819.10.29 - Configure PYTHONPATH and/or LD_LIBRARY_PATH according to these steps: https://wiki.gnuradio.org/index.php/ModuleNotFoundError
(Note that order may matter according to this case: https://lists.gnu.org/archive/html/discuss-gnuradio/2016-03/msg00065.html)
QUESTION
Software author wants to add zsh completion to his project. Has written completion script, works.
Needs to figure out where under $CMAKE_INSTALL_PREFIX
to install so it gets found by default.
Testing Fedora 34 against Ubuntu 20.04, it was found that the only common member of $fpath
is /usr/local/share/zsh/site-functions; none of the /usr/share fpaths overlap. Especially, Ubuntu does not read /usr/share/zsh/site-functions.
So, I can't just install into $CMAKE_INSTALL_PREFIX/share/zsh/site-functions
, because that only works for $CMAKE_INSTALL_PREFIX==/usr/local
, but not later in packaging ($CMAKE_INSTALL_PREFIX==/usr
). I'd argue this is a Ubuntu inconsistency, but that doesn't effectively matter.
Is there a sensible way to figure out at CMake time where to put completion scripts?
Note that CMake is not usually run from zsh, so checking $fpath
is not an option.
ANSWER
Answered 2021-Nov-11 at 18:33$CMAKE_INSTALL_PREFIX/share/zsh/site-functions
is the right place.
It is the same with man pages, info pages, pkg-config path, binaries and libraries and whatever else. On a default install, man will only look in predefined places like /usr/share/man
and /usr/local/share/man
.
If someone decides to install to /opt/gnuradio
or whatever, it is then also their responsibility to ensure that they set $PATH
, $MANPATH
$INFOPATH
and whatever else accordingly. It is the same for $fpath
. The best software can do is ensure that they stick to established conventions and not to spew files elsewhere on the filesystem outside of $PREFIX
.
If Ubuntu wants to be clever and invent their own vendor-completion
directories then a consequence of that is that is that they need to patch everything they package that includes a zsh completion. That's their problem because they created the problem for themselves.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install gnuradio
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page