Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] libsumo using vehicle.isAtBusStop

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 veh in vehicle_list:

 

            if traci.vehicle.isAtBusStop(veh):

                              …

 

Libsumo does not support subscription. Is isAtBusStop a “hidden” subscription maybe?

 

Thanks

 

Patrick Goldschmidt

 




Pflichtangaben anzeigen

Nähere Informationen zur Datenverarbeitung im DB-Konzern finden Sie hier: http://www.deutschebahn.com/de/konzern/datenschutz

Back to the top