averbraeck / opentrafficsim

Open Source Multi-Level Traffic Simulator
BSD 3-Clause "New" or "Revised" License
28 stars 8 forks source link

Some changes for CommonRoad coupling #121

Closed WJSchakel closed 1 month ago

WJSchakel commented 1 month ago

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:

WJSchakel commented 1 month 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.