Thank you Michael,

I am running Sumo under Windows. Is there any documentation I could use if
I want to add a method to TraCi? Where could I find the source files?

Wilmer


On Mon, May 26, 2014 at 12:59 PM, Michael Behrisch <
[email protected]> wrote:

> Am 26.05.2014 18:11, schrieb Wilmer Arellano:
> > Thank you Michael,
> >
> > 1. How would it work if I wanted to know the travel time on a new route
> > before the actual reroute?
>
> Well, you would need the edges of the route so if you do not want to do
> the routing yourself, you should do a pseudo rerouting and if the result
> is not what you want, reset the route to the old one by setting the old
> route id.
>
> > 2. Do you mean you opened a ticked or I should open one?
>
> Sorry, I sent this mail too fast, there is
> http://sumo-sim.org/trac.wsgi/ticket/1243
>
> > 3. My problem is I am using Veins with large number of vehicles and
> > simulation becomes very slow in presence of many TraCI calls. If I need
> to
> > call TraCI to get the edges on the route and then call for each edge left
> > on the route to get the travel time, it may take too long.
>
> You could cache the edge values (and even consider to use the cached
> value for more than one time step, which may result in a minor error
> only). If you know in advance which edges you will probably need the
> value for, you could add a subscription for those so you don't need to
> ask for each separately.
>
> You could of course add this method to TraCI yourself. It should not be
> too hard.
>
> Best regards,
> Michael
>
>
------------------------------------------------------------------------------
The best possible search technologies are now affordable for all companies.
Download your FREE open source Enterprise Search Engine today!
Our experts will assist you in its installation for $59/mo, no commitment.
Test it for FREE on our Cloud platform anytime!
http://pubads.g.doubleclick.net/gampad/clk?id=145328191&iu=/4140/ostg.clktrk
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to