Skip to content
Snippets Groups Projects
Commit f67327a9 authored by David Hammer's avatar David Hammer
Browse files

Fix: update trainId and sent like regular TrainMatcher

parent 84b57a4a
No related branches found
No related tags found
1 merge request!12Snapshot: field test deployed version as of end of run 202201
......@@ -344,6 +344,8 @@ class DetectorAssembler(TrainMatcher.TrainMatcher):
self.info["timeOfFlight"] = (
Timestamp().toTimestamp() - earliest_source_timestamp
) * 1000
self.info['sent'] += 1
self.info['trainId'] = train_id
self.rate_out.update()
def on_new_data(self, channel, data, meta):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment