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

Reply via email to