Changes for page Interface
Last modified by aas2 on 2025/01/30 12:17
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -3,7 +3,7 @@ 3 3 == Environment: == 4 4 5 5 * ((( 6 -{{{track_contacts: int[TRACK _SEGMENTS][2]}}}6 +{{{track_contacts: int[NUM_TRACKS][2]}}} 7 7 8 8 * ((( 9 9 0: no signal ... ... @@ -71,7 +71,7 @@ 71 71 == Controller: == 72 72 73 73 * ((( 74 -{{{track_speeds: int[TRACK _SEGMENTS]}}}74 +{{{track_speeds: int[NUM_TRACKS]}}} 75 75 76 76 * ((( 77 77 0: off ... ... @@ -84,7 +84,7 @@ 84 84 ))) 85 85 ))) 86 86 * ((( 87 -{{{signals: int[TRACK _SEGMENTS][2]}}}87 +{{{signals: int[NUM_TRACKS][2]}}} 88 88 89 89 * ((( 90 90 0: off ... ... @@ -185,17 +185,17 @@ 185 185 // Initial track of the trains 186 186 input int train_setup[NUM_TRAINS]; 187 187 // Speed of all tracks 188 - input int track_speeds[TRACK _SEGMENTS];188 + input int track_speeds[NUM_TRACKS]; 189 189 // State of all switches 190 190 input bool points[NUM_POINTS]; 191 191 // State of all signals 192 - input int signals[TRACK _SEGMENTS][2];192 + input int signals[NUM_TRACKS][2]; 193 193 194 194 //------------------------------------------------------------\\ 195 195 //-- OUTPUTS --\\ 196 196 //------------------------------------------------------------\\ 197 197 // State of all contacts of the railway 198 - output int track_contacts[TRACK _SEGMENTS][2];198 + output int track_contacts[NUM_TRACKS][2]; 199 199 200 200 //------------------------------------------------------------\\ 201 201 //-- RAILWAY CONSTANTS --\\
- Confluence.Code.ConfluencePageClass[0]
-
- Id
-
... ... @@ -1,1 +1,1 @@ 1 - 286723671 +31162533 - URL
-
... ... @@ -1,1 +1,1 @@ 1 -https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/RP2/pages/ 28672367/Interface1 +https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/RP2/pages/31162533/Interface