Changes for page Basic design

Last modified by nfl on 2025/01/30 12:05

From version 7.1
edited by nbw
on 2014/06/22 18:50
Change comment: There is no comment for this version
To version 9.1
edited by csp
on 2014/06/23 14:18
Change comment: updated figure of Mutex_KH, fixed typo

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.nbw
1 +XWiki.csp
Content
... ... @@ -1,7 +2,5 @@
1 -= Basic design =
2 2  
3 3  
4 -
5 5  {{toc/}}
6 6  
7 7  We compose our railway controller from several train controllers, combined with controllers for mutual exclusion.
... ... @@ -18,9 +18,9 @@
18 18  
19 19  A train **must** signal the wish to enter a segment by setting the variable **bool <segment>_req[trainNum] **to true.
20 20  The right to enter a segement is given to the train by setting the variable **int <segment>_perm** to the train number.
21 -After leaving a segment the train **must** remove his request by setting <segment>_req[trainNum] to false again.
19 +After leaving a segment the train **must** remove its request by setting <segment>_req[trainNum] to false again.
22 22  
23 -For a free track the *_perm variable is set to -1 and all tracks, apart from starting positions, are initialised with -1. For the starting positions the *_perm variables are set to the corresponding train number and the *_req variable for the train is set to true.
21 +For a free track the *_perm variable is set to -1 and all tracks, apart from starting positions, are initialized with -1. For the starting positions the *_perm variables are set to the corresponding train number and the *_req variable for the train is set to true.
24 24  
25 25  **A train must not enter a segment or alter the settings of a segment without holding the lock for the segment. No exceptions from this rule are allowed.**
26 26  
... ... @@ -32,7 +32,7 @@
32 32  
33 33  The controller splits the pass into two parts, //left// and //right//, corresponding to the track layout chart. [[(Simplified track layout)>>url:http://www.informatik.uni-kiel.de/~~railway/Downloads/kscheme.pdf||shape="rect"]]
34 34  
35 -Each part has two operational modes, //in// and //out//, being active when trains are allowed to either enter or leave the pass. When entering the pass the controller counts the entering trains and only lets two trains enter (one after the other). When leaving the pass the trains are removed from the counter, making space for the next train.
33 +Each part has two operational modes, //in// and //out//, being active when trains are allowed to either enter or leave the pass. When entering the pass the controller counts the entering trains and only lets two trains enter (one after the other). When leaving the pass the trains are removed from the counter, freeing space for the next train.
36 36  
37 37  == Train controller ==
38 38  
Confluence.Code.ConfluencePageClass[0]
Id
... ... @@ -1,1 +1,1 @@
1 -9471042
1 +9471637
URL
... ... @@ -1,1 +1,1 @@
1 -https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/SS14Railway/pages/9471042/Basic design
1 +https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/SS14Railway/pages/9471637/Basic design