Changes for page C Controller
Last modified by Soeren Domroes on 2025/01/30 12:05
<
>
edited by Alexander Schulz-Rosengarten
on 2014/08/20 11:08
on 2014/08/20 11:08
edited by Alexander Schulz-Rosengarten
on 2014/08/20 13:49
on 2014/08/20 13:49
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,6 +1,6 @@ 1 1 2 2 3 -{{toc/}} 3 +{{toc maxLevel="2"/}} 4 4 5 5 = Components = 6 6 ... ... @@ -8,6 +8,8 @@ 8 8 9 9 [[image:attach:components.png]] 10 10 11 + 12 + 11 11 == SCCharts Contoroller == 12 12 13 13 {{noformat}} ... ... @@ -38,6 +38,12 @@ 38 38 controller.h defaults.h controller.c 39 39 {{/noformat}} 40 40 43 +The core controller component sets up a connection to the railway, maintains an environment for the synchronous tick-function and invokes the tick-function in a loop. 44 + 45 +Additionally some time tracking is performed to determine time consumption of the tick function and its environment. 46 + 47 +To increase the robustness of the system the controller checks internal permissions of the SCChart-Controller against detected trains on the railway. 48 + 41 41 == State Monitor == 42 42 43 43 {{noformat}} ... ... @@ -44,6 +44,12 @@ 44 44 statemonitor.h statemonitor.c 45 45 {{/noformat}} 46 46 55 +The state monitor component allows a thread-safe communication between connected GUIs and the running controller. This communication is also tick-safe meaning that changes are only applied at tick-borders. 56 + 57 +In addition to that the 58 + 59 +Furthermore it allows the generation of the current state of the controller in JSON format. 60 + 47 47 == GUI Server == 48 48 49 49 {{noformat}} ... ... @@ -52,6 +52,12 @@ 52 52 53 53 = Interaction = 54 54 69 +== GUI == 70 + 71 +The controller allows multiple [[doc:GUIs]] to connect and interact with the controller. 72 + 73 +== Interrupts == 74 + 55 55 === Quit, Pause and Cleanup === 56 56 57 57 While running the console the following user inputs are provided by the controller:
- Confluence.Code.ConfluencePageClass[0]
-
- Id
-
... ... @@ -1,1 +1,1 @@ 1 -94717 141 +9471734 - URL
-
... ... @@ -1,1 +1,1 @@ 1 -https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/SS14Railway/pages/94717 14/C Controller1 +https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/SS14Railway/pages/9471734/C Controller