我正在尝试使用 Gnuradio 3.8.2 在 Ubuntu 18.04 上运行 gr 雷达,并在使用带有两个 USRP N210 的 echotimer 块时不断收到以下错误:
Generating: '/home/user/Documents/tests/test_usrp_echotimer_cc.py'
>>> Warning: This flow graph may not have flow control: no audio or RF hardware blocks found. Add a Misc->Throttle block to your flow graph to avoid CPU congestion.
Executing: /usr/bin/python3.6 -u /home/user/Documents/tests/test_usrp_echotimer_cc.py
[INFO] [UHD] linux; GNU C++ version 7.5.0; Boost_106501; UHD_3.15.0.0-62-g7a3f1516
[INFO] [USRP2] Opening a USRP2/N-Series device...
[INFO] [USRP2] Current recv frame size: 1472 bytes
[INFO] [USRP2] Current send frame size: 1472 bytes
Using USRP Device (TX):
Single USRP:
Device: USRP2 / N-Series Device
Mboard 0: N210r4
RX Channel: 0
RX DSP: 0
RX Dboard: A
RX Subdev: WBXv3 RX+GDB
TX Channel: 0
TX DSP: 0
TX Dboard: A
TX Subdev: WBXv3 TX+GDBERROR_CODE_LATE_COMMAND
Setting TX Rate: 1000000
Actual TX Rate: 1e+06
[INFO] [USRP2] Opening a USRP2/N-Series device...
[INFO] [USRP2] Current recv frame size: 1472 bytes
[INFO] [USRP2] Current send frame size: 1472 bytes
Using USRP Device (RX):
Single USRP:
Device: USRP2 / N-Series Device
Mboard 0: N210r4
RX Channel: 0
RX DSP: 0
RX Dboard: A
RX Subdev: UBX RX
TX Channel: 0
TX DSP: 0
TX Dboard: A
TX Subdev: UBX TX
Setting RX Rate: 1000000
Actual RX Rate: 1e+06
set_min_output_buffer on block 3 to 524288
set_min_output_buffer on block 4 to 524288
set_min_output_buffer on block 5 to 524288
gr::fft: can't import wisdom from /home/user/.gr_fftw_wisdom
set_min_output_buffer on block 7 to 524288
set_min_output_buffer on block 8 to 524288
terminate called after throwing an instance of 'std::runtime_error'
what(): Receiver error ERROR_CODE_LATE_COMMAND
>>> Done (return code -6)
当我在使用 gr-radar test_usrp_echotimer_cc.grc 文件(或任何其他使用 echotimer 块的 grc 文件)时使用 2 个 USRP 传输和接收时会发生这种情况。grc 文件似乎可以在环回中与一个 USRP 一起正常工作。我猜“ERROR_CODE_LATE_COMMAND”发生在接收器 USRP 需要不同的等待时间才能启动时。知道如何解决这个问题吗?任何帮助表示赞赏。谢谢