Add jf-assembler executable

This service reconstructs the various modules and sends out a
image metadata stream for further consumers.
This commit is contained in:
2021-01-19 14:02:57 +01:00
parent 65fb6c929f
commit 39d714f538
11 changed files with 519 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
namespace assembler_config
{
// N of IO threads to send image metadata.
const int ASSEMBLER_ZMQ_IO_THREADS = 1;
// If the modules are offset more than 1000 pulses, crush.
const uint64_t PULSE_OFFSET_LIMIT = 100;
// Number of times we try to re-sync in case of failure.
const int SYNC_RETRY_LIMIT = 3;
// Number of pulses between each statistics print out.
const size_t ASSEMBLER_STATS_MODULO = 1000;
}