Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

simplify default detector names for actuated tls and condition lookup #9955

Closed
namdre opened this issue Jan 15, 2022 · 0 comments
Closed

simplify default detector names for actuated tls and condition lookup #9955

namdre opened this issue Jan 15, 2022 · 0 comments

Comments

@namdre
Copy link
Contributor

namdre commented Jan 15, 2022

instead of "TLS" + myID + "_" + myProgramID + "_InductLoopOn_" + lane->getID()

myID + "_" + myProgramID + "_D" + edgeIndex + "." + laneIndex

where

  • edgeIndex starts at 0 from the first lane for link 0 and increases clockwise
  • laneIndex starts at 0 for the first lane that permits vehicular traffic and increase toward the left

Also, conditions should automatically prepend myID + "_" + myProgramID + "_" so that condition functions can be called with shorter ids. (if the detector isn't found they can still look for the given id without prefix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant