Skip to content

Conversion of Transition dynamics should allow value >=0

We get an exception when Transition dynamics value field is 0 in the alks scenarios

As per ASAM requirements it is OK for value field to be >= 0 Range [0.inf)

image

Code where the issue exists:

https://gitlab.eclipse.org/eclipse/openpass/openscenario1_engine/-/blob/0c0ae09598e97bdfa95eb51eb7fa3fa220404df7/engine/src/Conversion/OscToMantle/ConvertScenarioTransitionDynamics.cpp#L72

An exception shall only be thrown when value is negative

Introduced change in !241 (merged)

Edited by Sai Sardesai