Hello All,

I am using an algorithm for vehicular rerouting in my project of SUMO and I
need to get the real-time edge travel times in the ".net.xml" file in
congestion scenarios.
I am using the "*getAdaptedTraveltime(edgeID, time)*" function for this
purpose.

The normal "*getTraveltime(edgeID)*" function returns *correct* value, but
the above function is always returning "*-1*".
I am passing *edgeID and the traci step value in place of time*.

Could anyone please help me regarding this?
I need to understand if I am using this function correctly and is there any
condition for using it. Even if there is any other way to get real time
values for travel times of edges it would also do.
Any help regarding these would really be grateful.

Thank you.

Sincerely,
Surabhi
-- 
*Surabhi Ramdhan Boob*
*MS Electrical Engineering - Computer Networking*
*North Carolina State University*
*(Contact : +1-919-931-9734)*
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to