User Tools

Site Tools


usage:atlatc:examples:ars_cycling

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision Both sides next revision
usage:atlatc:examples:ars_cycling [2022-06-28 11:44]
56independent created
usage:atlatc:examples:ars_cycling [2022-06-28 11:46]
56independent [Introduction] Add usecases.
Line 9: Line 9:
 There is no concept of ARS matching and this simply sets the first available route. There is no concept of ARS matching and this simply sets the first available route.
  
 +One usecase is with depots designed to store trains. By setting the route to a free track, this allows for trains to be stored where it is possible. Another usecase is terminal stations which branch out. This allows trains to go to an available track instead of waiting for a train to depart or segregating tracks by line. 
 ===== Explanation ===== ===== Explanation =====
 The code takes the name of the signal and the last route as constants. When a train runs over the rail, the code attempts to find a setabble route. If unable to, the code gives up. The code takes the name of the signal and the last route as constants. When a train runs over the rail, the code attempts to find a setabble route. If unable to, the code gives up.
usage/atlatc/examples/ars_cycling.txt · Last modified: 2022-07-03 14:08 by 56independent