Gets the traffic light signal status for the specified internal route.
The traffic light signal status for the specified route.
Vehicles should use the response of generated by the intersection to determine the light color! Only when yellow is significant should this function be queried.
Exception Type | Condition |
---|---|
ArgumentException | Thrown if the specified route is not part of the current intersection. |
TrafficLightIntersection Class | CBPRS.Infrastructure Namespace