For those using or developing simpla,
I encountered an error in simpla's _platoonmanager.py file (while using
the taxi device, but I also experienced it with a very big scenario
without taxis).
Then I discovered that in function def _adviseLanes(self) the state
leader.state.laneIX became negative (a large negative number)
Strange that the error actually occurred in a "try" environment.
Anyway the fix (which is really more a workaround) is to replace the line
traci.vehicle.changeLane(veh.getID(), leader.state.laneIX,
self._controlInterval)
with
ix = leader.state.laneIX
if ix >= 0:
traci.vehicle.changeLane(veh.getID(), ix,
self._controlInterval)
No idea why leader.state.laneIX becomes negative, but if there is
interest I can provide the scenario.
Best,
Joerg
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user