I am trying to use the attached three files (posted by John M. in
an
earlier post
http://lists.gnu.org/archive/html/discuss-gnuradio/2013-02/msg00050.html
)
to work on TDMA in Gnuradio. The only difference is that I am using
GPSDO
kit, instead of external PPS/REF Clock. When I run tdma_radio.grc, I get
the following error. Could someone please comment how can I fix the
issue?
linux; GNU C++ version 4.6.3; Boost_104601; UHD_003.005.000-26-gb65a3924
– Opening a USRP2/N-Series device…
– Current recv frame size: 1472 bytes
– Current send frame size: 1472 bytes
UHD Warning:
The recv buffer could not be resized sufficiently.
Target sock buff size: 50000000 bytes.
Actual sock buff size: 1000000 bytes.
See the transport application notes on buffer resizing.
Please run: sudo sysctl -w net.core.rmem_max=50000000
UHD Warning:
The recv buffer could not be resized sufficiently.
Target sock buff size: 50000000 bytes.
Actual sock buff size: 1000000 bytes.
See the transport application notes on buffer resizing.
Please run: sudo sysctl -w net.core.rmem_max=50000000
UHD Warning:
The send buffer could not be resized sufficiently.
Target sock buff size: 1048576 bytes.
Actual sock buff size: 1000000 bytes.
See the transport application notes on buffer resizing.
Please run: sudo sysctl -w net.core.wmem_max=1048576
– Detecting internal GPSDO… Found a Jackson Labs GPS
– found
– Setting references to the internal GPSDO
– Initializing time to the internal GPSDO
– 1) catch time transition at pps edge
– 2) set times next pps (synchronously)
– 1) catch time transition at pps edge
– 2) set times next pps (synchronously)
Traceback (most recent call last):
File “/home/s/tdm/tdma_radio.py”, line 255, in
tb = tdma_radio(ampl=options.ampl, radio_addr=options.radio_addr,
args=options.args, rate=options.rate, tx_gain=options.tx_gain,
rx_gain=options.rx_gain, rx_freq=options.rx_freq,
samp_per_sym=options.samp_per_sym,
max_arq_attempts=options.max_arq_attempts,
guard_interval=options.guard_interval, arq_timeout=options.arq_timeout,
num_slots=options.num_slots, slot_interval=options.slot_interval,
initial_slot=options.initial_slot, dest_addr=options.dest_addr,
lead_limit=options.lead_limit, port=options.port, freq=options.freq)
File “/home/s/tdm/tdma_radio.py”, line 70, in init
freq=freq,
File “/home/s/.grc_gnuradio/tdma_hier.py”, line 76, in init
self.tdma_engine =
precog.tdma_engine(initial_slot,slot_interval,guard_interval,number_of_slots,lead_limit,link_speed)
File “/usr/local/lib/python2.7/dist-packages/precog/tdma_engine.py”,
line
100, in init
self.set_tag_propagation_policy(extras_swig.TPP_DONT)
NameError: global name ‘extras_swig’ is not defined
I have Extras installed. Thanks
–
Best Regards,
Sam