Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] libsumo and traci: isAtBusStop not in libsumo

Dear all,

inspired by the discussion about libsumo and traci I have adopted one of my projects to use libsumo. Its pretty easy to switch back and forth by adding some lines to the code of the runner.py file

...

parser.add_argument('-L','--libsumo', action='', help='Use libsumo')
args = parser.parse_args()

if args.libsumo:
 import libsumo as traci
else:
 import traci

...

I get the following error:

object 'vehicle' has no attribute 'isAtBusStop'

The other code works fine.

I have a recently build sumo under linux.

Any ideas?

Greetings Harald


Back to the top