MCPcopy Create free account
hub / github.com/PJLab-ADG/OASim / nextPhase

Method nextPhase

limsim/utils/roadgraph.py:158–162  ·  view source on GitHub ↗
(self, currPhaseIndex: int)

Source from the content-addressed store, hash-verified

156 return self.preDefPhases[currPhaseIndex]
157
158 def nextPhase(self, currPhaseIndex: int) -> str:
159 if currPhaseIndex < len(self.preDefPhases)-1:
160 return self.preDefPhases[currPhaseIndex+1]
161 else:
162 return self.preDefPhases[0]
163
164
165@dataclass

Callers 2

updateSceneMethod · 0.80
updateSceneMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected