Hello Harald,
thanks for bringing this up. Now fixed:
https://github.com/eclipse/sumo/issues/9591

Explanation: 'isatBusStop' along with a few other methods isn't really part
of the traci API. It's a convenience function around getStopState (testing
for the fifth bit of the result) and because of this requires special
treatment.

regards,
Jakob


Am Do., 18. Nov. 2021 um 15:29 Uhr schrieb Harald Schaefer <
[email protected]>:

> 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='store_true', 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
> _______________________________________________
> sumo-user mailing list
> [email protected]
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to