Push Tracker
ria-toolkit-oss/tests
J jrhughes003 b6b52bf3c9 feat(usrp): continuous-streaming rx() for gapless agent capture
The agent capture loop calls sdr.rx(buffer_size) per chunk. USRP inherited the
base rx() → record(), which issued start_cont/stop_cont and slept 0.1s EVERY
buffer. At 2.5 MSps that captured ~1.6 ms of IQ per ~100 ms — heavily gapped,
transient-laden, and zero-filled on timeout, which rendered as choppy/black
bands in the spectrogram.

USRP.rx() now keeps a single continuous stream running across calls:
- issues start_cont once (lazily, on first rx()),
- recv()s until the request is filled, carrying any over-read into a residual
  buffer so nothing is dropped between rx() boundaries (gapless),
- tolerates overflow (samples still valid), treats repeated timeouts as a
  disconnect, and stops the stream on close().

Hardware-free tests stub uhd and prove gaplessness, single start, overflow
handling, timeout->disconnect, and stop cleanup.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-05 10:54:23 -04:00
..
agent feat(usrp): continuous-streaming rx() for gapless agent capture 2026-06-05 10:54:23 -04:00
datatypes Moved all contents of to , refactored accordingly 2026-04-21 14:38:06 -04:00
io Moved all contents of to , refactored accordingly 2026-04-21 14:38:06 -04:00
orchestration Merge remote-tracking branch 'origin/main' into zfp-oss 2026-04-22 15:44:12 -04:00
remote_control Fix onnxruntime Python 3.10 incompatibility and hackrf test import failure 2026-04-20 14:18:04 -04:00
ria_toolkit_oss_cli Merge remote-tracking branch 'origin/main' into zfp-oss 2026-04-22 15:44:12 -04:00
server removing orchestrator references 2026-04-22 10:10:25 -04:00
transforms Moved all contents of to , refactored accordingly 2026-04-21 14:38:06 -04:00
utils zfp functionality and servers 2026-03-31 13:51:10 -04:00
__init__.py changed file to a string 2025-12-11 15:12:01 -05:00
test_agent.py formats 2026-04-20 16:49:52 -04:00