Re: [sumo-user] libsumo using vehicle.isAtBusStop

2019-04-26 Thread Jakob Erdmann
isAtBusStop is not part of the TraCI API but rather a convenience function provided by the python client. You can replace it with (getStopState(vehID) % 16 == 16) Am Fr., 26. Apr. 2019 um 14:51 Uhr schrieb Patrick Goldschmidt < patrick.goldschm...@deutschebahn.com>: > Dear SUMO-Community, > > > >

[sumo-user] libsumo using vehicle.isAtBusStop

2019-04-26 Thread Patrick Goldschmidt
Dear SUMO-Community, I switched from traci to libsumo and now it looks like that vehicle.isAtBusStop() is not working anymore. I get an error: type object 'vehicle' has no attribute 'isAtBusStop' Here is what I do: import libsumo as traci vehicle_list = traci.vehicle.getIDList() for ve