Two robot trains:

Two robot trains share several single track mainline separated by run-arounds. The dynamics of train speed and start/stop times require the robot logic to adapt routing decisions in real time to avoid a "cornfield meet" in a block that both must use.

We define two robot trains. One runs west to east and the other runs east to west. The west to east train runs from Hamburg and returns. The east to west train runs from Bethlehem and returns. Each locomotive runs at speed consistent with the range of speed allowed on their respective routes. Varying the start time of each train causes the runaround meet location and track usage to dynamically adjust to conditions at that time and place.

Two Robot Train python scripts created by MRRM and used in JMRI for the the above video are:

East to West:

West to East:

Four Robot Trains:

under development