WJSchakel / ots-fosim

Extension of OTS which can be used as a simulation core within FOSIM.
0 stars 0 forks source link

Travel time since last detector #9

Closed WJSchakel closed 2 months ago

WJSchakel commented 10 months ago

In FOSIM detectors can report the average travel time since the last detector, aggregated per aggregation period. This measurements needs to be added.

WJSchakel commented 2 months ago

A dedicated Detector will be implemented to supply the right information. This information entails:

The detector should be able to supply this information for each period, or as an array. The first period may have an irregular interval.

Regarding reciprocal speed, the speed is limited to be >= 0.05m/s.

WJSchakel commented 2 months ago

Class FosDetector is added. These detectors are created by FosParser depending on the setting ParserSetting.FOS_DETECTORS, which is false by default but set to true by OtsTransceiver. The OtsTransceiver finds all such detectors and remembers them by their id so they can be easily found upon a data request.