Hi everyone,
I've created a branch of fosphor with the goal of making it compatible with
GNU Radio 3.8 (specifically the maint-3.8 branch). I've branched fosphor
from
https://github.com/osmocom/gr-fosphor/tree/gr38-qt5.
My branch is located at
https://github.com/the-aerospace-corporation/gr-fosphor/tree/gr38-qt5-aero
The changes are updates to the cmake scripts and modules, most of which are
derived directly from the 3.8 module porting guide located at
https://wiki.gnuradio.org/index.php/GNU_Radio_3.8_OOT_Module_Porting_Guide
Development was performed in Ubuntu 18.04 with GNU Radio installed using
pybombs and Python 3 support as described at
https://github.com/gnuradio/gnuradio
and using a prefix-based GNU Radio install. The updated fosphor branch has
been tested with NVidia and Intel OpenCL. At this point GLFW works but QT
does not.
To build and install the updated fosphor branch, install GNU Radio 3.8 from
the maint-3.8 branch, install all dependencies as described at the fosphor
wiki, then execute
git clone https://github.com/the-aerospace-corporation/gr-fosphor
cd gr-fosphor
git checkout gr38-qt5-aero
mkdir build
cd build
cmake ..
make
make install
I'm interested in the process for merging my updates back to the official
repository. For instance, additional testing using different platforms
might be a good idea.
Best,
Terry Ferrett, Signal Processing and Estimation Engineer
The Aerospace Corporation <https://aerospace.org/>, El Segundo, CA
Hello,
I'm creating a GNU Radio OOT module in C++ language, in which I instantiate
an osmosdr source. The syntax is : osmosdr::source ::sptr m_source =
osmosdr::source::make();
I also implement other blocks in my design.
In CMakeLists.txt file, I specify all these components:
set(GR_REQUIRED_COMPONENTS RUNTIME BLOCKS FFT OSMOSDR)
find_package(Gnuradio-osdmosdr REQUIRED)
include_directories(
...
${GNURADIO_OSMOSDR_INCLUDE_DIRS}
)
link_directories(
...
${GNURADIO_OSMOSDR_LIBRARY_DIRS}
)
In cmake/Modules folder, I copied the FindGnuradio-osmosdr.cmake file from
gqrx project.
The logs of cmake command show that the osmosdr library is found:
-- checking for module 'gnuradio-osmosdr'
-- Found gnuradio-osmosdr, version v0.1.4-127-g4d83c606
-- Found GNURADIO_OSMOSDR: /usr/local/lib/libgnuradio-osmosdr.so
After compiling the module (cmake .. -> make -> make install -> ldconfig),
I got the error 'AttributeError: 'module' object has no attribute 'test'. I
analysed the undefined symbol, and it was due to osmosdr module.
Any suggestion to solve this problem?
PS:
- I'm working on Ubuntu 16.04 (VM), gnuradio 3.7.9, cmake 3.5.1
- In GRC, the osmosdr source and sink work fine
Thanks.
Hello! I am an undergraduate student at Oregon State University working
with RTL-SDR dongles for an academic project under supervision from
Benjamin Brewster, and I had a dev question.
I'm trying to run utilities that capture 978
<https://github.com/mutability/dump978> & 1090Mhz
<https://github.com/mutability/dump1090> traffic simultaneously, but I
can't seem to stop rtl_sdr from allocating too many zero-copy buffers and
preventing both programs from running simultaneously (I'd like to cut down
from 15). I've been through librtlsdr.c and rtl_adsb.c with the hope of
manually changing some variable that will let me accomplish this to no
avail.
Is there some line I might have overlooked, or some additional parameter(s)
I might need to enter?
Thank you for your email, and I appreciate the communication. I did have
one last question: If I were to make a change to the code and need to
recompile it, are the steps the same ones listed on the wiki under
"building the software", or is there a different make process?
On Thu, Aug 15, 2019, 10:51 AM Karl <gmkarl(a)gmail.com> wrote:
> Hi Robert,
>
> It sounds like you're looking for the `buf_num` argument to
> rtlsdr_read_async. This is in rtl-sdr.h:
> https://git.osmocom.org/rtl-sdr/tree/include/rtl-sdr.h#n362 .
>
> I run into problems like that all the time, myself. Due to my issues,
> I've found it hard to collaborate on this project myself. See mailing
> list archive of contributions that were minimally addressed. I try to
> focus around communication that's more reliable than radio now, like
> memo.cash .
>
> But I'm still passionate about helping rtl-sdr grow.
>
> Karl
>
> On 8/15/19, Hudspeth, Robert Lee <hudspero(a)oregonstate.edu> wrote:
> > Hello! I am an undergraduate student at Oregon State University working
> > with RTL-SDR dongles for an academic project under supervision from
> > Benjamin Brewster, and I had a dev question.
> >
> > I'm trying to run utilities that capture 978
> > <https://github.com/mutability/dump978> & 1090Mhz
> > <https://github.com/mutability/dump1090> traffic simultaneously, but I
> > can't seem to stop rtl_sdr from allocating too many zero-copy buffers and
> > preventing both programs from running simultaneously (I'd like to cut
> down
> > from 15). I've been through librtlsdr.c and rtl_adsb.c with the hope of
> > manually changing some variable that will let me accomplish this to no
> > avail.
> >
> > Is there some line I might have overlooked, or some additional
> parameter(s)
> > I might need to enter?
> >
>