DarraghMac97/Real-time-Traffic-Simulation-with-3D-Visualisation

"var linkcount = client.TrafficLight.GetControlledLinks(newjunction.name).Content.NumberOfSignals;" error

Opened this issue · 0 comments

Have not been able to connect the traffic lights in the project due to an " InvalidOperationException: Sequence contains no elements " error when executing the " ... GetControlledLinks(newjunction.name).Content.NumberOfSignals; "

in looking through the CodingConnected.TracI and SUMO/eclipse documentation, not sure if NumberofSignals is a valid call, nor what it would be other wise.