Forward random seed to stochastics models
Link to pipeline: https://ci.eclipse.org/openpass/job/GtGenCore/view/change-requests/job/MR-124/
The MR aims at forwarding an initial random seed configured by the user to:
- codebase objects which use stochastics models
- external controller which use stochastics models internally.
To sum up we should propagate initial seed to:
- RandomVelocityGenerator
- SpawnPositionFinder
- ProbabilityService
- ExternalController
Detailed for ExternalController:
- Gather the seed already stored in SimulationParameters
- Propagate the seed till ExternalController
- Forward initial_random_seed into
osi_traffic_participant::Create
Moreover:
- The random seed is passed as a key-value pair over the traffic participant interface for all external controllers by default
- No incrementation by entity id (this will be handled inside the controller)
- Naming of the key has to be aligned with intech (CoCo) and should use some prefix to avoid duplication
Edited by Andreas Rauschert