Wiki source code of Project goals
Version 7.1 by nbw on 2014/05/09 16:08
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | {{info title="DEADLINE 13.05."}} | ||
2 | At the end of this summer term a railway controller modelled in SCCharts should exist that is able to //control// the model railway installation. What exactly //control// means is up to you! | ||
3 | |||
4 | Define your project goals! Therefore... | ||
5 | |||
6 | * Define the desired capabilities of your controller. | ||
7 | * Devide your project in several subprojects. Organize the whole team in subteams and determine who is responsible for what. | ||
8 | * Define interfaces between the subteams and/or components the subteams are responsible of. | ||
9 | * Create a detailed roadmap with milestones for each subproject. | ||
10 | |||
11 | You are going to present your plan in a short presentation (latex beamer preferred) in the following week, 13.05. 12:30. The presentation should last 30 min. | ||
12 | |||
13 | Remember, you are going to present your controller at the end of the summer term! Getting this task done right is a very important step to succeed with your controller and this project! | ||
14 | {{/info}} | ||
15 | |||
16 | |||
17 | |||
18 | === Sample Pass for one Track === | ||
19 | |||
20 | {{code linenumbers="true"}} | ||
21 | state Foo | ||
22 | --> Gleissegment with contact(Segment,0) | ||
23 | state Gleissegment { | ||
24 | entry / req(next_Segment); | ||
25 | entry / setSignal(prevSegment, red); | ||
26 | |||
27 | inital state Entry | ||
28 | --> Continue with contact(Segment,0) & perm_next_Segment | ||
29 | --> Slowdown with contact(Segment,0); | ||
30 | |||
31 | state Slowdown { | ||
32 | entry / setSpeed(Segment,SLOW); | ||
33 | } --> Waiting with contact(Segment,1) | ||
34 | --> Continue with perm_next_Segment; | ||
35 | |||
36 | state Waiting { | ||
37 | entry / setSpeed(Segment,BRAKE); | ||
38 | } --> Continue with perm_next_Segment; | ||
39 | |||
40 | state Continue { | ||
41 | entry / setSignal(Segment,green); | ||
42 | entry / setSpeed(Segment,full); | ||
43 | entry / setSpeed(nextSegment,full); | ||
44 | entry / setSignal(nextSegment, red); | ||
45 | entry / free(prevSegment) | ||
46 | entry / setSpeed(prevSegment,OFF); | ||
47 | }--> leave immediate; | ||
48 | |||
49 | final state leave; | ||
50 | } | ||
51 | {{/code}} | ||
52 | |||
53 | === Roadmap === | ||
54 | |||
55 | {{code}} | ||
56 | 13.5. Präsentation Annahme: Wir bekommen Interface für Module | ||
57 | 27.5. Station-Station Controller + C-Interface | ||
58 | 17.6. Integrationstests | ||
59 | 24.6. Definierte Testfälle mit Stoppflag | ||
60 | 01.7. Fahrpläne | ||
61 | |||
62 | KW 34 Abschlusspräsentation | ||
63 | KW 35 Exkursion Miniatur Wunderland | ||
64 | {{/code}} | ||
65 | |||
66 | == Interfaces == | ||
67 | |||
68 | === C-Interface === | ||
69 | |||
70 | klar | ||
71 | |||
72 | === Station-Station Module === | ||
73 | |||
74 | Input: Zugnummer, Startgleis, Zielgleis, Cleanup, (Mutex Variablen?) | ||
75 | Output: "Echtes" Zielgleis (Ausweichgleis?) | ||
76 | |||
77 | == Organisation == | ||
78 | |||
79 | Regelmäßiges Treffen Mittwochs 16:00 |