V2.2.x Feature proposal: Traffic light API and alignment
The proposal is about:
- Adding interface to traffic lights.
- Align across ASAM OpenX.
- Currently according to ASAM OSC DSL the semantic state of a traffic-light is determined per 'traffic_light', a struct that represents a traffic-light box. In reality the semantic state of a traffic-light may depend also on: (a) other boxes in the same group and (b) the controlled junction path (e.g., green light may mean go-protected for right turn and go-unprotected for left turn). The methods and scenarios should be modified accordingly.
- We propose a procedural / event-based API for controlling traffic-lights (on top of the generative API that has actions/scenarios for changing TL state and uses 'wait' to time successive state changes).