[Redmine #8197] Allow simple calculations using scenario parameters
Bugzilla Link | 4028 |
Created on | May 23, 2019 10:00 |
Version | 0.9.1 |
Extended Description
Robert Krajewski wrote:
The current version of OpenScenario already supports using parameters. However, the set of parameters cannot be chosen to be minimal and intuitive in some use cases. Therefore, I suggest to allow simple calculations using the parameters. E.g. if the speed of an object vehicle at the end of a complex scenario should be 10 km/h above the speed of the ego vehicle at the beginning of the scenario (InitialSpeedEgo), a separate parameter (e.g. FinalSpeedObj) has to be defined and chosen in dependency on InitialSpeedEgo. A simpler and more intuitive solution would be to define something like "
InitialSpeedEgo+10.0" in the OSC file if the speed difference is constant or to define a more intutive parameter (FinalDeltaSpeedObj), which could be used to create the final speed by "
InitialSpeedEgo+$FinalDeltaSpeedObj".