test(streamhub): add binary recorder E2E scenario
End-to-end test streaming three float32 signals via a MARTe2 UDPStreamer app into a standalone StreamHub with the recorder enabled, then validating the recorded FileWriter-compatible .bin against the streamed input with validate_binary.py. All recorded rows are byte-identical to input rows. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
/**
|
||||
* Recorder E2E — StreamHub config.
|
||||
*
|
||||
* One source consuming the UDPS stream emitted by RecorderStreamer.cfg
|
||||
* (UDPStreamer on port 44600). The +Recorder block is enabled and
|
||||
* auto-starts, writing FileWriter-compatible binary files to
|
||||
* /tmp/streamhub_rec_e2e. Signals="all" records every signal the source
|
||||
* reports, in source order (Signal_100, Signal_1K, Signal_5K).
|
||||
*/
|
||||
Hub = {
|
||||
WSPort = 8095
|
||||
MaxPoints = 200000
|
||||
PushRate = 30
|
||||
MaxPushPoints = 2000
|
||||
RingTemporal = 1000000
|
||||
RingScalar = 100000
|
||||
+Recorder = {
|
||||
Enabled = 1
|
||||
AutoStart = 1
|
||||
Directory = "/tmp/streamhub_rec_e2e"
|
||||
MaxFileMB = 256
|
||||
KeepFiles = 8
|
||||
StagingMB = 16
|
||||
FlushIntervalSec = 1
|
||||
MinDiskFreeMB = 200
|
||||
Signals = "all"
|
||||
}
|
||||
Sources = {
|
||||
e2e = {
|
||||
Label = "Recorder E2E source"
|
||||
Addr = "127.0.0.1"
|
||||
Port = 44600
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user