Hello,

With the following lines, the traffic will be generated from East to West:

if random.uniform(0, 1) < pEW:
            #East to South - Left Crossing
                print('    <vehicle id="right_%i" type="typeIDM" route="EW"
depart="%i" color="1, 1, 0" />' % (vehNr, i), file=routes)
                vehNr += 1
 My question is, how to generate the traffic at East that can take either
West, South or North?
If I use the above code 3 times each for West, South or North the traffic
generation is multiple, I dont need that, I need multiple directions from
single.  E.g., East to West, South, and North.

Please help me in solving this issue.

Regards
Radha
_______________________________________________
sumo-user mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to