@@ -9,7 +9,6 @@ import fr.sncf.osrd.signaling.SignalingSimulator
9
9
import fr.sncf.osrd.signaling.ZoneStatus
10
10
import fr.sncf.osrd.sim_infra.api.*
11
11
import fr.sncf.osrd.sim_infra.impl.ChunkPath
12
- import fr.sncf.osrd.sim_infra.utils.recoverBlocks
13
12
import fr.sncf.osrd.standalone_sim.*
14
13
import fr.sncf.osrd.utils.indexing.StaticIdxList
15
14
import fr.sncf.osrd.utils.indexing.mutableStaticIdxArrayListOf
@@ -56,15 +55,6 @@ fun projectSignals(
56
55
val blockPath = mutableStaticIdxArrayListOf<Block >()
57
56
for (block in detailedBlockPath) blockPath.add(block.block)
58
57
59
- val blockPaths =
60
- recoverBlocks(
61
- rawInfra,
62
- blockInfra,
63
- routePath,
64
- mutableStaticIdxArrayListOf(bal, bapr, tvm300, tvm430)
65
- )
66
- assert (blockPaths.isNotEmpty())
67
-
68
58
val zoneMap = mutableMapOf<String , Int >()
69
59
var zoneCount = 0
70
60
for (block in blockPath) {
@@ -152,7 +142,7 @@ private fun computeSignalAspectChangeEvents(
152
142
} else {
153
143
loadedSignalInfra.getSignalingSystem(
154
144
lastSignal
155
- ) // If it could connect to anything, lets pretend it does to itself
145
+ ) // If it could not connect to anything, lets pretend it does to itself
156
146
}
157
147
val nextSignalState = leastConstrainingStates[lastSignalInputSystem]!!
158
148
0 commit comments