User Tools

Site Tools


usage:nodes:atc_controller

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:nodes:atc_controller [2021-10-25 19:47]
orwell Added Cpl ATC command
usage:nodes:atc_controller [2022-06-27 04:32] (current)
blockhead [Speed commands] grammar
Line 38: Line 38:
 === S<speed> === === S<speed> ===
  
-Sets the target speed of driving train to ''<speed>''. The train accelerates if faster than current speed, rolls if slower, and does nothing if at the same speed.+Sets the target speed of driving train to ''<speed>''. The train accelerates if slower than target speed, rolls down to a slower speed if faster, and does nothing if at the same speed.
  
 ''<speed>'' can be either: ''<speed>'' can be either:
Line 177: Line 177:
 ==== I, +/-, </<=/>/>= ==== ==== I, +/-, </<=/>/>= ====
  
-  * ''I + S2;'': if the train is going in the right direction, set target speed to 2 +  * ''I+S2;'': if the train is going in the right direction, set target speed to 2 
-  * ''I + SM E B0;'': if the train is going in the right direction, accelerate, otherwise stop +  * ''I+SMEB0;'': if the train is going in the right direction, accelerate, otherwise stop 
-  * ''I <8 S8;'': if the train is slower than 8 (~ 30 km/h), set target speed to 8+  * ''I<8S8;'': if the train is slower than 8 (~ 30 km/h), set target speed to 8
  
 ===== Trivia ===== ===== Trivia =====
usage/nodes/atc_controller.1635184071.txt.gz · Last modified: 2021-10-25 19:47 by orwell