Changes for page Basic design

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

From version 3.1
edited by nbw
on 2014/06/19 09:23
Change comment: There is no comment for this version
To version 5.1
edited by nbw
on 2014/06/20 09:36
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,3 +1,7 @@
1 +
2 +
3 +{{toc/}}
4 +
1 1  We compose our railway controller from several train controllers, combined with controllers for mutual exclusion.
2 2  
3 3  == Mutual Exclusion ==
... ... @@ -39,4 +39,10 @@
39 39  
40 40  Each station-2-station controller realizes the movement from one of the stations (IC,OC,KH) to a second station. All controllers using IC or OC parts have to respect the traveling directions. For the Kicking Horse Pass two separate controllers, forwards and backwards, are used.
41 41  
42 -The controllers starting from Kicking Horse Pass Station make an assumption of the direction the train is standing. These are dependent of the directions of the inner or outer circle, e.g. the KHIC controller starts backwards because this is the only valid direction to travel this path. To drive a train from the Kicking Horse Station (facing forward) to the Inner Circle we have to combine the KHOC and OCIC controllers.
46 +The controllers starting from Kicking Horse Pass Station make an assumption of the direction of the train. These are dependent of the directions of the inner or outer circle, e.g. the KHIC controller starts backwards because this is the only valid direction to travel this path. To drive a train from the Kicking Horse Station (facing forward) to the Inner Circle we have to combine the KHOC and OCIC controllers.
47 +
48 +[[image:attach:ICIC.png]]
49 +
50 +When arriving on a station the train controller **must** first call the function //void railArrival(int train, int station)//. This starts the waiting timer for the train.
51 +Next the train **must** wait for// int railDeparture(int train)// to return 1.
52 +After the waiting has finished the controller can reach a final state and pass the control back to the train controller.
Confluence.Code.ConfluencePageClass[0]
Id
... ... @@ -1,1 +1,1 @@
1 -9471012
1 +9471036
URL
... ... @@ -1,1 +1,1 @@
1 -https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/SS14Railway/pages/9471012/Basic design
1 +https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/SS14Railway/pages/9471036/Basic design