Hi,
you are right, this is a bug, which is now being tracked at
https://github.com/eclipse/sumo/issues/4329. For a workaround you can
add all members of the distribution to the vTypes explicitly.

Best regards,
Michael

Am 12.07.2018 um 14:28 schrieb m.bartha...@t-online.de:
> See https://github.com/eclipse/sumo/issues/2863
> 
>  
> 
> I would like to see this implemented, too. But from looking at the sorce
> code, I didn't find any easy and clean solution for this. Maybe Jakob
> could suggest how this should be done.
> 
>  
> 
> Regards
> 
> Mirko
> 
>  
> 
>  
> 
>  
> 
> -----Original-Nachricht-----
> 
> Betreff: [sumo-user] activation of E1 detector by type with
> vTypeDistribution
> 
> Datum: 2018-07-12T13:53:28+0200
> 
> Von: "Menno van der Woude" <me...@codingconnected.eu>
> 
> An: "sumo-user@eclipse.org" <sumo-user@eclipse.org>
> 
>  
> 
>  
> 
>  
> 
> Hello,
> 
> while using E1 detectors I noticed the following:
> 
>   * in NETEDIT I set the 'vTypes' field to a specific value, for example 5
>   * I generate traffic with vehicle type 5 (using od2trips)
>   * now, when I use something like this:
>     <vType carFollowModel="Krauss" vClass="bus" id="5" length="15.5"
>     sigma="0.751" tau="0.825" />
>     all works well: the E1 detector is activated when a vehicle with
>     this type is on it
>   * however, when I use instead something like this:
>     <vTypeDistribution id="5">
>         <vType carFollowModel="Krauss" vClass="bus" id="vehDistBus0"
>     length="14.801" sigma="0.751" tau="0.825"/>
>         ... etc ...
>     </vTypeDistribution>
>     the detector is not activated when a vehicle of type 5 is on it
> 
> Is this know behaviour?
> My goal is to allow for selective detection, so I can detect busses
> and/or emergency vehicles seperately from other motorized vehicles.
> Actually having a single kind of verhicle for the type is ok for me, but
> the described behaviour seems like it could be a bug?
> 
> Thanks, greets,
> 
> Menno van der Woude
> 
> 
> 
> _______________________________________________
> sumo-user mailing list
> sumo-user@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe from 
> this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
> 


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
sumo-user mailing list
sumo-user@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user

Reply via email to