There is currently no filter that would be applicable to your task. I would
guess  version 2 is less data intensive then version 1 when the proportion
of busses to regular vehicles is low.

Am Mi., 16. Sept. 2020 um 16:44 Uhr schrieb françois bélisle <
[email protected]>:

> Hallo,
> Ich habe eine frage.
>
> I'm simulating traffic signal priority (TSP) for buses with Sumo 1.6.0 on
> Linux.
> To this end, I need to track buses "near" TSP-enabled junctions : hence, I
> need to find and pair both buses and TSP-enabled junctions .
>
> I've come up with two Python TraCI solutions, starting from either the
> TSP-enabled junctions or buses, but I was wondering if there was another
> way. My solutions :
> 1)  traci.junction.subscribeContext at a TSP-enabled junction and
> filtering for vehicles of vclass bus "near" the junction ;
> 2)  traci.vehicle.subscribe for departed vehicles on the network that are
> of vclass bus and getNextTLS to see if the approaching junctions are
> TSP-enabled on their route.
>
> My specific question :
> is there a way to filter a junction subscription for vehicle class or type
> ? From what I see in the python documentation, subscription filters only
> apply to the traci.vehicle class : is this correct ? Did I understand
> something wrong ?
> My solutions work, but do you see a "cleaner" way to do things ?
>
> Danke shön und bis bald,
>
> f
> _______________________________________________
> 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