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

Link Distant Signals with their Main Signals #22

Open
3 tasks
eyip002 opened this issue Aug 5, 2021 · 1 comment
Open
3 tasks

Link Distant Signals with their Main Signals #22

eyip002 opened this issue Aug 5, 2021 · 1 comment
Labels
Milestone

Comments

@eyip002
Copy link
Collaborator

eyip002 commented Aug 5, 2021

There should be a way to relate a distant signal to its main signal in the Bahn configuration file:

  • distant signal4b 0x01 --> signal7

There should be a way to query the relationship in the interlocking algorithm:

  • get config signal.main "signal4b": returns "signal7" (return an empty string when not applicable)
  • get config signal.distant "signal7": return "signal4b" (return an empty string when not applicable)
@eyip002 eyip002 added the feature label Aug 5, 2021
@eyip002 eyip002 added this to the 1.0.5 milestone Mar 7, 2022
@eyip002 eyip002 modified the milestones: 1.0.5, 1.0.6 Feb 26, 2023
@BLuedtke
Copy link
Collaborator

BLuedtke commented May 16, 2023

Challenge: Some distant signals do not have a single concrete main signal they refer to. Example: A distant signal after which a point follows, which allows travel along one of two paths, with both paths having e.g. exit signals down the line.
IMO, the distant signal would probably have to indicate either both main signals that follow (go if both are go, caution if one of the two is not go, stop if both are stop), or the related main signal would have to change dynamically with the track state. Both options are difficult to support in BahnDSL, though for the first, all that the BahnDSL config has to do is indicate a relation of a distant signal to multiple main signals. The distant signal can be set to the appropriate related main signal during interlocking, where the track state is known.

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

No branches or pull requests

2 participants