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

Method __init__

limsim/simModel/egoTracking/movingScene.py:18–25  ·  view source on GitHub ↗
(self, netInfo: NetworkBuild, ego: egoCar)

Source from the content-addressed store, hash-verified

16
17class MovingScene:
18 def __init__(self, netInfo: NetworkBuild, ego: egoCar) -> None:
19 self.netInfo = netInfo
20 self.ego = ego
21 self.edges: set = None
22 self.junctions: set = None
23 self.currVehicles: dict[str, Vehicle] = {}
24 self.vehINAoI: dict[str, Vehicle] = {}
25 self.outOfAoI: dict[str, Vehicle] = {}
26
27 # if lane-lenght <= the self.ego's deArea, return current edge, current
28 # edge's upstream intersection and current edge's downstream intersection.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected