Old scenario description for events looks like this:
"eventInfos" : [ { "eventTimeframe" : { "startTime" : 0.0, "endTime" : 0.4, "repeat" : false, "waitTimeBetweenRepetition" : 0.0 }, "events" : [ { "type" : "BangEvent", "targets" : [ ], "originAsTargetId" : 1 } ]This migration shall transform it to:
"stimulusInfos" : [ { "timeframe" : { "startTime" : 0.0, "endTime" : 0.4, "repeat" : false, "waitTimeBetweenRepetition" : 0.0 }, "stimuli" : [ { "type" : "Bang", "originAsTargetId" : 1 } ]Firstly, rename child nodes. Then, rename top-level "eventInfos" node. Also, rename - "useSalientBehavior" to "usePsychologyLayer" under "attributesSimulation" node - "FootStepMostImportantEventProcessor" to "FootStepMostImportantStimulusProcessor" - "FootStepSalientBehaviorProcessor" to "FootStepSelfCategoryProcessor" - "salientBehavior" to "selfCategory" in "dynamicElement" nodes After renaming, encapsulate two psychology-related attributes into a new "psychology" node in "dynamicElement" nodes: - mostImportantStimulus - selfCategory A resctructured dynamic element node looks like this:
{ ... "psychology" : { "mostImportantStimulus" : { "type" : "ElapsedTime" }, "selfCategory" : "TARGET_ORIENTED" }, ... "type" : "PEDESTRIAN" }