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

allow indirect guarding of switches #5091

Closed
namdre opened this issue Jan 23, 2019 · 3 comments

Comments

@namdre
Copy link
Contributor

commented Jan 23, 2019

currently, the simulation assumes that each switch is a railSignal

To model real-world track layouts, it is necessary to allow for switches that are themselves uncontrolled nodes and which are guarded by multiple upstream railSignal nodes.

related to #5062

a major problem is how to handle vehicle routes when a railSignal guards multiple paths and only some of them are safe to use. Possible situations:

  • vehicle may only use unsafe paths, signal must stay red
  • vehicle intends to take safe path, ensure that the route does not change after passing the signal
  • vehicle may reroute to take safe path
  • vehicle may reroute to and enter stopplingPlace on an alternative lane (requires #5115)
  • vehicle could take safe path but this would be a major detour, instead vehicle should wait until another path becomes safe
@namdre

This comment has been minimized.

Copy link
Contributor Author

commented Jan 24, 2019

fixed in 37bc092 along with #5062

@namdre namdre closed this Jan 24, 2019

namdre added a commit that referenced this issue Jan 28, 2019

@namdre namdre reopened this Jan 28, 2019

@namdre

This comment has been minimized.

Copy link
Contributor Author

commented Jan 28, 2019

newfound issues

  • priority resolution issue leading to deadlock (conflicthLane-occupancie for foe link mus be checked)
  • railSignal is ignorant of train route (the switch has no state). This leads to train collision
namdre added a commit that referenced this issue Jan 28, 2019
namdre added a commit that referenced this issue Jan 28, 2019
namdre added a commit that referenced this issue Jan 29, 2019
namdre added a commit that referenced this issue Jan 31, 2019
namdre added a commit that referenced this issue Jan 31, 2019
@namdre

This comment has been minimized.

Copy link
Contributor Author

commented Jun 18, 2019

the main functionality is working since the introduction of the drivway concept. The rest should be tackled in other tickets

@namdre namdre closed this Jun 18, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.