Page tree

Versions Compared

Key

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

Controller Output

The controller executable outputs JSON data whenever certain internal values are updated. The JSON output contains one or more of the following fields.

...

The controller accepts the following input format (as JSON) through stdin. The input JSON must be on a single line.

Field nameContent typeValue rangeNumber of valuesDescription
Actionint0-MAXINT, 0-47,0-47,0-14Contains the description of a new train action in the format: [ id, start, destination, reverse flag ]