Hello,
there are various options for modifying the probablities. See
--fringe-factor and 'custom weights' at
http://sumo.dlr.de/wiki/Tools/Trip#randomTrips.py

For learning TraCI, I recommend the tutorials:
http://sumo.dlr.de/wiki/Tutorials#TraCI_Tutorials.
Also, learning python is a good idea (The tutorials use python). I
recommend against using the game runner as it is more complex.

regards,
Jakob

2015-10-25 23:48 GMT+01:00 Martin Li <[email protected]>:

> Hi all,
>
> I am currently working on a project using sumo-0.24.0 in ubuntu, and I need
> some help on finding the solutions.
>
> I have successfully created traffic with osm downloaded from openstreetmap,
> use the randomTrips.py to generate the random traffic, however, I notice
> something that I want to change:
>
>    1. The randomTrips.py select all the nodes and then create traffic,
>    which is unrealistic--some even is created in an intersection, shown in
> the
>    first screen shot. My question is how can I change the randomTrips.py to
>    choose only the outbound nodes, but not the inbound nodes, such as
>    intersections?
>    2. I am trying to learn how to use TraCI to control traffic in my case,
>    instead of working on alternating the randomTrips.py , I've got
> suggestion
>    from a friend that I should learn how to use python through the games
>    folder, I have already tried "python runner.py" there, and all I see is
> an
>    interface that leads to creating a intersection traffic light. My
> question
>    is what is my next step for learning the TraCI to control traffic?
> besides
>    reading the runner.py file? My case is a roundabout, and I'm suppose to
>    learn to use TraCI to control traffic there.
>
> Thanks for your help
> Martin
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> sumo-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sumo-user
>
>
------------------------------------------------------------------------------
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to