chiark / gitweb /
segment labelling work-in-progress - yet to do are labels and graph colouring
[trains.git] / hostside / Structure
1 pic
2  talks pic protocol to safety
3
4 safety
5  rtprio
6  passes on all pic traffic
7  safety incl polarity, no collisions, curvature, etc.
8  converts instructions to/from text
9  takes instructions only from multiplex
10 all real-time stuff so clients can be confident of no misthings ?
11  on-event for point changing, stopping, etc. ?
12  specify intended path and speed profile for each train ?
13   - list of points, in order, with setting
14       this is good enough to be in time for shinkansen on inner loop
15       inner loop is                      3589mm
16       minus longest section for slop     -657mm (X10)
17       minus length of the train         -1118mm
18                                         -------
19       spare                              1813mm
20         or at 1m/s                       1813ms
21       minus safety delay                 -500ms
22                                         -------
23                                          1313ms
24
25   optimistic path change
26    - optimistic change request recorded on some point
27    - when we find it we check
28           is point free
29           is another set request recorded
30                   if so check whether we'll be out of the way
31           plot new path for this train
32
33  deadline scheduler for point change and cdu
34
35  for points autochanging
36   lay train an extra 600ms or so
37  
38
39 commsn between realtime and multiplexer
40   each command produces `ack' or `error'
41   multiplexer counts responses for flow control
42
43 multiplex
44  talks to all clients
45  access control
46  message mux/demux incl filtering