When running certain configurations like for sumo like sumo1x21, it crashes because of certain links being empty coming from self.world.eng.trafficlight.getControlledLinks(self.id) and trying to access the first element coming from an empty list. Ignoring empty links gets over the issue and the simulation runs as usual.
When running certain configurations like for sumo like
sumo1x21
, it crashes because of certain links being empty coming fromself.world.eng.trafficlight.getControlledLinks(self.id)
and trying to access the first element coming from an empty list. Ignoring empty links gets over the issue and the simulation runs as usual.