Hi,
I'm having a problem running usrp_p25_rx.py. I've never done anything with op25 before. I followed the build instructions on the wiki at op25.osmocom.org/wiki. I had the same issue that I saw a couple other people post about with adding an include of stddef.h to op25.cc. After that everything built as far as I can tell.
I'm using ubuntu 12.04 x64 and gnuradio 3.6
If anyone has any idea what to look at it would be appreciated.
thanks,
When I try to run usrp_p25_rx.py I get the following error:
Traceback (most recent call last):
File "./usrp_p25_rx.py", line 727, in <module>
app = stdgui2.stdapp(p25_rx_block, "APCO P25 Receiver", 3)
File "/usr/local/lib/python2.7/dist-packages/gnuradio/wxgui/stdgui2.py", line 38, in __init__
wx.App.__init__ (self, redirect=False)
File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7981, in __init__
self._BootstrapApp()
File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7555, in _BootstrapApp
return _core_.PyApp__BootstrapApp(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/gnuradio/wxgui/stdgui2.py", line 42, in OnInit
self._max_noutput_items)
File "/usr/local/lib/python2.7/dist-packages/gnuradio/wxgui/stdgui2.py", line 64, in __init__
self.panel = stdpanel (self, self, top_block_maker, max_nouts)
File "/usr/local/lib/python2.7/dist-packages/gnuradio/wxgui/stdgui2.py", line 86, in __init__
self.top_block = top_block_maker (frame, self, vbox, sys.argv)
File "./usrp_p25_rx.py", line 75, in __init__
self.__init_gui(frame, panel, vbox)
File "./usrp_p25_rx.py", line 252, in __init_gui
self.spectrum_plotter = self.spectrum.win.plot
AttributeError: 'fft_window' object has no attribute 'plot'
P25 signals modulated using the CQPSK format throw off a loud tone at 4,800 Hz, as shown by a plot of the power spectrum of the signal's magnitude.
C4FM-modulated P25 signals do not appear to possess this interesting property. The file in samples 'prwn-d256.dat' appears to be a CQPSK signal with distinctive LSM characteristics.
I've uploaded a simple python app which can be used to plot a complex capture sample file - magsq-psd.py. The one non-obvious arg (--calibration) must be used if/as necessary to bring the signal to near zero IF.
Note that hardware FM discriminator-tapped receivers cannot be used here since a copy of the signal prior to demodulation is required.
A receiver software implementation using the tone detection method can be done using a low-complexity setup such as a DSP CIC filter. Another nice thing is that a tone detection loop works well even when there is some frequency mismatch...
Max
I have the OP25 GRC demo that Balint provided up and running.
Everything seems to working except I'm not getting any audio out of
the OP25 block. I'm getting the "four line" output from the dibit
output port when there is traffic on the channel, and the autotune
output is outputting data. However, no audio. I put a scope on the
audio output and it's a flat line at zero, even when the dibit output
is "four lines". Any tips on how to further troubleshoot?
Thanks,
Andy
Its been suggested that we start a channel on IRC so we can discuss OP25
and Osmocom stuff.
Anybody here an IRC guru? Do we want a channel just for OP25 (which may not
have many people in it) or perhaps take part in a potentially larger
Osmocom one?
What do people think?
Hi all,
Just getting started with GnuRadio and RTL2832 so might be missing some details, by following the instructions here:
http://op25.osmocom.org/wiki/wiki/BuildInstructionsPage
I was able (with a couple of hacks) to built OP25, IMBE and 4FSK - however these did not appear as selectable blocks in GRC.
After some time I was able to figure out that they are missing 'xml' definitions in '/usr/local/share/gnuradio/blocks'. Creating a quick/fake '4fsk.xml' made it/something appear.
So should these exist? Does anyone have examples of what they should be....?
BTW the OP25 which did appear, seems to be from Baz install, not the above instructions.
I also experienced problems with build against latest GnuRadio git (seems that 'gruel_common.i' has moved) and the include files are not being installed... other than that things are 'peachy' :-)
--
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../..
-I/usr/local/include/gnuradio -I/usr/local/include
-I/usr/include/python2.7 -I ../../../imbe_vocoder/src/lib -g -O2 -Wall
-Woverloaded-virtual -pthread -MT _repeater_la-repeater.lo -MD -MP -MF
.deps/_repeater_la-repeater.Tpo -c repeater.cc -fPIC -DPIC -o
.libs/_repeater_la-repeater.o
In file included from repeater.cc:3862:0:
rs.h:8:29: fatal error: op25_imbe_frame.h: No such file or directory
compilation terminated.
make[4]: *** [_repeater_la-repeater.lo] Error 1
make[4]: Leaving directory `/home/simon/op25/repeater/src/lib'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/simon/op25/repeater/src/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/simon/op25/repeater/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/simon/op25/repeater'
make: *** [all] Error 2
simon@drifter:~/op25/repeater$ find .. -name 'op25_imbe_frame.h'
../blocks/src/lib/op25_imbe_frame.h
simon@drifter:~/op25/repeater$ find /usr/local/include/ -name
'op25_imbe_frame.h'
simon@drifter:~/op25/repeater$
--
Simon
OK I've just upgraded my Ubuntu box to 12.04, from 11.04 (couldn't help
myself). I'm trying to rebuild op25 but I'm getting the following error,
followed by a string of relate ones (I'm guessing)
Compiling blocks:
op25.cc:3115:13: error: 'ptrdiff_t' does not name a type
A Google search for this kind of error seems to be pointing to stricter
typedef requirements by gcc 4.6 with the solution being to include an
additional system header file cstddef. However I'm not sure where to
include this in the op25 source. I tried putting it in the op25.i swig
interface file so that it ends up in the generated op25.cc file however
that doesn't appear to have worked.
Anyone already solved this or can provide some guidance? Ubuntu 12.04
appears to be using gcc 4.6.3
Thanks
Cheers
Richard