Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] exitTimes of the vehicle's vehroute.xml shows -1

> so the exitTimes for the not-arrived edges will just show as "-1".
yes.

> And I would like to ask, whether the vehicle.routeLength includes the not arrived edges?
The routeLength attribute of the <vehicle> reflects the length that was actually driven until removal. The routeLength attribute of the <route>s reflects the total length.

Am Di., 22. Feb. 2022 um 07:21 Uhr schrieb 何润恺 <h772021995@xxxxxxxxx>:
Hello Jokob,
In the following is a vehicle's route information.
I found in the exitTimes there are some values "-1".
I assume it is because I used the traci.vehicle.remove to let the vehicle leave the parking spaces, so the exitTimes for the not-arrived edges will just show as "-1".
And I would like to ask, whether the vehicle.routeLength includes the not arrived edges?
Best regards,
Runkai 

<vehicle id="P2_G1_8:15:26" type="Parkingflow_Eqq" depart="4527.00" arrival="12506.00" routeLength="916.38">
<routeDistribution>
<route replacedOnEdge="gneE1" reason="Full_Rrouter:parkingAreaReroute" replacedAtTime="4535.00" probability="0" edges="-gneE4 gneE1 -33656211#7" routeLength="434.28"/>
<route replacedOnEdge="-2001" reason="Full_Rrouter:parkingAreaReroute" replacedAtTime="4641.00" probability="0" edges="-gneE4 gneE1 -33656211#7 -33656211#6 -33656211#5 -2001 2001 33656211#5.38 33656211#6 33656211#6.144 33656211#7 -33656211#7" routeLength="1397.72"/>
<route replacedOnEdge="2002" reason="Full_Rrouter:parkingAreaReroute" replacedAtTime="4664.00" probability="0" edges="-gneE4 gneE1 -33656211#7 -33656211#6 -33656211#5 -2001 2002 -gneE40.10 -gneE40.27 -gneE40.50 33656211#5 33656211#5.38 33656211#6 33656211#6.144 33656211#7 -33656211#7" routeLength="1475.93"/>
<route edges="-gneE4 gneE1 -33656211#7 -33656211#6 -33656211#5 -2001 2002 -gneE40.10 -gneE40.27 -gneE40.50 33656211#5 33656211#5.38 33656211#6 33656211#6.144 33656211#7 -33656211#7" exitTimes="4535.00 4552.00 4584.00 4634.00 4641.00 4664.00 12506.00 -1 -1 -1 -1 -1 -1 -1 -1 -1"/>
</routeDistribution>
<stop parkingArea="parkingArea_2.4.0" duration="50400.00" started="4672.00" ended="12506.00"/>
</vehicle>
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top