Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] Difference in arrival time between duarouter and sumo-gui

Hello.
I am currently running duarouter with the --exit-times option.
I am reading the expected arrival time of a particular edge from the exit time of the generated rou.xml and using it in my program.

While running sumo-gui, we found that for a particular edge, there is a difference between the arrival time in the simulation and the expected arrival time in the exit time of rou.xml.
For example, the exit time in rou.xml predicted an arrival time of 800 for the vehicle with edge="gneE10", but the time in sumo-gui was 1000.

How can I use duarouter to eliminate the difference between the simulation arrival time and the exit time?

The duarouter command has the following format.

duarouter -n map.net.xml --route-files veh.trip.xml -o veh.rou.xml --exit-times true --no-warnings true --no-step-log true

The trip file used by duarouter is in the following format

<routes>
   <vType id="vehicle" accel="2.6" decel="4.5" sigma="0.5" length="5" maxSpeed="8.33"/>
   <trip id="0" depart="0.00" from="edge1" to="edge2" via="edge3" type="vehicle"/>
</routes>

regard,
Nishikawa


Back to the top