You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
is "GetControlledLinks(str).Content.NumberofSignals;" valid? #27
getting " InvalidOperationException: Sequence contains no elements " error when trying to call
var linkcount = client.TrafficLight.GetControlledLinks(newjunction.name).Content.NumberOfSignals;
Not my code. It seems to me that possibly the .NumberofSignals is not a defined value.
The original code is trying to return the controlledlinks.length integer value from SUMO, I believe.
Activity
ObKress commentedon Aug 9, 2022
Source code was written to work with sumo 1.01.
shijasck11 commentedon Jan 6, 2024
Did you find a solution for this? I have the same issue.
mennowo commentedon Mar 3, 2025
In case someone found a fix for this, feel free to do a PR!