Vehicle attributes action
Describe the feature
For some tests we'd like to control attributes of scenario vehicles, e.g. turn signal, open door, open trunk, switch on/off headlights.
Describe the solution you would like
It would be nice with an action that can set various standardized attributes for one vehicle. something like:
Ego.SetAttribute(turnSignalFreq, 0.8) # period 1/0.8 seconds
Ego.SetAttribute(turnSignalOnTime, 0.3) # Turnsignal ON 0.3 seconds of the period
Ego.SetAttribute(turnSignalLeft, true) # Activate turn signal
Ego.SetAttribute(frontLeftDoor, 0.2) # 20% open
but in XML format of course...
Exactly what attributes to include to be discussed in the work group. We don't need to cover all possible ones in a first release. The list of attributes can grow over time.
Describe alternatives you have considered
Today such events has to be controlled totally in and by the simulator, typically described in a test case separated from the scenario. We believe it would be better to include such dynamic events in the scenario.
Describe the backwards compatibility
This would be a pure addition, not affecting backward compatibility.