Closed WJSchakel closed 4 months ago
org.opentrafficsim.road.gtu.generator.GtuSpawner
was added in order to add GTUs from external control.
FilterDataLength
and FilterDataWidth
added under the road project. A mixture of base and road extended data types and filter data types can now be used in the sampler.
HeadwayGenerator
is added and used in the three demos.
At https://github.com/CommonRoad/opentrafficsim?tab=readme-ov-file#differences-of-this-fork-to-ots some changes are made to a forked repository for purposes of coupling OTS and CommonRoad. These changes can be incorporated by:
GtuCreator
where the hard-coded values can be set.FilterDataGtuType
and two new classesFilterDataLength
andFilterDataWidth
.HeadwayGenerator
class and use it inShortMerge
,StraightModel
andDemandParser
, which all have highly similar private classes.