Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-dev] routes duration

Hello,
The latest development version includes the new API call findRoute (in the python client: traci.simulation.findRoute(fromEdge, toEdge, vTypeID)) which returns an object with the fields 'edges' and 'travelTime'. see http://sumo.dlr.de/wiki/TraCI/Simulation_Value_Retrieval#Command_0x86:_Find_Route

The time to destination is computed in src/trci-server/lib/TraCI_Simulation::findRoute (line 110 method recomputeCosts)
regards,
Jakob


2017-11-20 13:52 GMT+01:00 <nardine.basta@xxxxxxxxxx>:

Hello,

I am implementing a modified vehicle destination selection method. I wish to predict the
time to destination. Is there a method that is applied on the vehicle route to get the
route duration directly, exactly as it gets the last edge of the route.

Thank u in advance

_______________________________________________
sumo-dev mailing list
sumo-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-dev


Back to the top