User Tools

Site Tools


usage:atlatc:examples:level_crossing

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
usage:atlatc:examples:level_crossing [2022-07-04 05:19]
blockhead [Implementation 2] reduce code size by using next() to check tables for emptiness
usage:atlatc:examples:level_crossing [2022-07-04 13:31] (current)
56independent [Implementation 3] Add resources
Line 158: Line 158:
  
 </code> </code>
 +
 +===== Implementation 3 =====
 +<code lua>
 +-- The safest level crossing is no crossing. The path passes above or below the track and does not force people to cross the track. This track just keeps a train at mainline programming.
 +
 +atc_send("OCA1SM")
 +</code>
 +
 +More information:
 +
 +[[https://www.networkrail.co.uk/wp-content/uploads/2020/03/Enhancing-Level-Crossing-Safety-2019-2029.pdf|Network Rail PDF]]
 +
 +[[https://www.networkrail.co.uk/communities/living-by-the-railway/level-crossing-closures/|Network Rail Post]] (It basically says trains are going faster and there is more risk so they should close more rail crossings)
usage/atlatc/examples/level_crossing.1656904754.txt.gz · Last modified: 2022-07-04 05:19 by blockhead