Hi all! I am having some difficult related with vehicles' departure and arrival points. In a regular simulation, each vehicle has a route that connects its origin and destination nodes. A route here is comprised of edges. By default, vehicles depart from the beginning of the first edge in their routes.
In my research, I am controlling vehicles using TraCI, creating/changing their routes on-the-fly. When a vehicle is created, it does yet not have a route. The problem here is that routes are made of edges, not nodes. A simple adjust to overcome this issue would be to place (while creating) the vehicles in the end of one of the incoming edges (those that are arriving in their origin node). However, in order to do that I would need to change the network to allow uturns (otherwise the vehicle would not take the edge it is coming from). But changing the network would not be an elegant way of solving the problem. Does someone know a better way of doing that? If no better alternative is available, I would like to suggest an improvement in SUMO. I have an idea for this: allow nodes to have an special kind of "internal lane", which could allow drivers to start there. The idea is to allow drivers to enter the network with no need to know their routes in advance. Would this improvement be possible? Regards, Gabriel de Oliveira Ramos PhD student UFRGS - Brazil ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
