Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In the simulation this command also loads the train configuration and starts the controller with those positions.

Note: this uses any Controller.c file it finds in code/Controller_SCTx/ as tick file and accesses files in code/interface/

3rd Step

Run RailController in code/girlsday

Options and Commands:

NoteNotes:

  • Train 10 has special ICE-handling, so the ICE should always be assigned to this number, other Trains with this number stop for a while before parking.
  • The Controller tries to connect to a WebProvider on localhost:8089
  • The JSON kivis file is in the current execution folder: 'json_output.simin'
  • The Controller uses ANSI-Escape sequences to color the output and overwrite recived contact messages.
  • The entered characteres are most likely not all visible since there may be quite some output while typing, so these commands are typed blind in this case

Commandline options (order matters):

...

+

if present then there will be no startup hardware check which turns on the lamps and
switches each point twice and cycles thru thrue signal colors with some delay

fast_speed

pre-sets the global driving speed for the trains. Default: 70

slow_speed

pre-sets the global parking speed for the trains. Default: 59

trainX_pos

sets the position of the train X, caseinsensitive, prefixed with '-' for reversed on bidirectional tracks,
valid only for segments (not for ex.: IC_JCT_0)
examples: KH_ST_2, K2, 26, -KH_LN_3, IC_ST_3, I3, 10, OC_LN_4
DEFAULTfillst the remaining positions with the home Positons of each train

...