[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [sumo-user] Bus Routes
|
hello,
i facing a problem, any one can healp me...
i get the result xml file like bellow so how to find vehicle 1 total time
from source to destination from timesteps?
etstate xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/netstate_file.xsd">
<timestep time="0.00">
<edge id="-23674690">
<lane id="-23674690_0">
<vehicle id="2" pos="5.10" speed="0.00"/>
</lane>
</edge>
<edge id="23367679">
<lane id="23367679_0">
<vehicle id="1" pos="5.10" speed="0.00"/>
</lane>
</edge>
<edge id="23491814#1">
<lane id="23491814#1_0">
<vehicle id="0" pos="0.20" speed="0.00"/>
</lane>
</edge>
</timestep>
<timestep time="1.00">
<edge id=":257426156_0">
<lane id=":257426156_0_0">
<vehicle id="0" pos="2.54" speed="2.54"/>
</lane>
</edge>
<edge id="-23674690">
<lane id="-23674690_0">
<vehicle id="2" pos="6.54" speed="1.44"/>
</lane>
</edge>
<edge id="23367679">
<lane id="23367679_0">
<vehicle id="1" pos="6.77" speed="1.67"/>
</lane>
</edge>
</timestep>
<timestep time="2.00">
<edge id="-23674690">
<lane id="-23674690_0">
<vehicle id="2" pos="9.94" speed="3.40"/>
</lane>
</edge>
<edge id="23367679">
<lane id="23367679_0">
<vehicle id="1" pos="10.28" speed="3.51"/>
</lane>
</edge>
<edge id="23491814#2">
<lane id="23491814#2_0">
<vehicle id="0" pos="0.64" speed="5.08"/>
</lane>
</edge>
</timestep>
<timestep time="3.00">
<edge id="-23674690">
<lane id="-23674690_0">
<vehicle id="2" pos="14.98" speed="5.04"/>
</lane>
</edge>
<edge id="23367679">
<lane id="23367679_0">
<vehicle id="1" pos="16.07" speed="5.79"/>
</lane>
</edge>
<edge id="23491814#2">
<lane id="23491814#2_0">
<vehicle id="0" pos="7.61" speed="6.98"/>
</lane>
</edge>
<edge id="25421051#4">
<lane id="25421051#4_0">
<vehicle id="3" pos="4.09" speed="0.00"/>
</lane>
<lane id="25421051#4_1"/>
</edge>
</timestep>
<timestep time="4.00">
<edge id=":252609334_2">
<lane id=":252609334_2_0">
<vehicle id="3" pos="1.63" speed="1.63"/>
</lane>
</edge>
<edge id="-23342068#0">
<lane id="-23342068#0_0">
<vehicle id="4" pos="5.10" speed="0.00"/>
</lane>
</edge>
<edge id="-23674690">
<lane id="-23674690_0">
<vehicle id="2" pos="21.88" speed="6.90"/>
</lane>
</edge>
<edge id="23367679">
<lane id="23367679_0">
<vehicle id="1" pos="23.58" speed="7.51"/>
</lane>
</edge>
<edge id="23491814#2">
<lane id="23491814#2_0">
<vehicle id="0" pos="16.58" speed="8.97"/>
</lane>
</edge>
</timestep>
<timestep time="5.00">
<edge id=":256372448_4">
<lane id=":256372448_4_0">
<vehicle id="2" pos="6.40" speed="8.91"/>
</lane>
</edge>
<edge id=":257425121_4">
<lane id=":257425121_4_0">
<vehicle id="0" pos="8.00" speed="11.23"/>
</lane>
</edge>
<edge id="-23342068#0">
<lane id="-23342068#0_0">
<vehicle id="4" pos="6.56" speed="1.46"/>
</lane>
</edge>
<edge id="23328183#2">
<lane id="23328183#2_0">
<vehicle id="3" pos="0.71" speed="4.15"/>
</lane>
<lane id="23328183#2_1"/>
</edge>
<edge id="23367679">
<lane id="23367679_0">
<vehicle id="1" pos="32.95" speed="9.37"/>
</lane>
</edge>
</timestep>
<timestep time="6.00">
<edge id=":252609333_0">
<lane id=":252609333_0_0">
<vehicle id="3" pos="1.39" speed="6.33"/>
</lane>
</edge>
<edge id="-23342068#0">
<lane id="-23342068#0_0">
<vehicle id="4" pos="10.56" speed="4.00"/>
</lane>
</edge>
<edge id="23367679">
<lane id="23367679_0">
<vehicle id="1" pos="41.27" speed="8.32"/>
</lane>
</edge>
<edge id="23491814#4">
<lane id="23491814#4_0">
<vehicle id="0" pos="3.89" speed="13.43"/>
</lane>
</edge>
<edge id="23760577#2">
<lane id="23760577#2_0">
<vehicle id="2" pos="6.96" speed="10.85"/>
</lane>
</edge>
</timestep>
<timestep time="7.00">
<edge id=":173699476_1">
<lane id=":173699476_1_0">
<vehicle id="3" pos="0.53" speed="7.86"/>
</lane>
<lane id=":173699476_1_1"/>
</edge>
<edge id=":257425357_4">
<lane id=":257425357_4_0">
<vehicle id="0" pos="2.49" speed="13.37"/>
</lane>
</edge>
<edge id="-23342068#0">
<lane id="-23342068#0_0">
<vehicle id="4" pos="15.94" speed="5.38"/>
</lane>
</edge>
<edge id="23367679">
<lane id="23367679_0">
<vehicle id="1" pos="45.59" speed="4.33"/>
</lane>
</edge>
<edge id="23760577#2">
<lane id="23760577#2_0">
<vehicle id="2" pos="19.25" speed="12.29"/>
</lane>
</edge>
</timestep>
<timestep time="8.00">
<edge id=":253017725_4">
<lane id=":253017725_4_0">
<vehicle id="1" pos="5.04" speed="6.62"/>
</lane>
</edge>
<edge id=":256372447_1">
<lane id=":256372447_1_0">
<vehicle id="2" pos="7.80" speed="13.50"/>
</lane>
</edge>
<edge id=":257425911_0">
<lane id=":257425911_0_0">
<vehicle id="0" pos="3.35" speed="12.90"/>
</lane>
</edge>
<edge id="-23342068#0">
<lane id="-23342068#0_0">
<vehicle id="4" pos="23.34" speed="7.40"/>
</lane>
</edge>
<edge id="16787937#1">
<lane id="16787937#1_0">
<vehicle id="3" pos="0.50" speed="9.76"/>
</lane>
<lane id="16787937#1_1"/>
</edge>
</timestep>
<timestep time="9.00">
<edge id="16787937#1">
<lane id="16787937#1_0">
<vehicle id="3" pos="12.65" speed="12.15"/>
</lane>
<lane id="16787937#1_1"/>
</edge>
<edge id="23342068#0">
<lane id="23342068#0_0">
<vehicle id="4" pos="0.85" speed="8.75"/>
</lane>
</edge>
<edge id="23367705#3">
<lane id="23367705#3_0">
<vehicle id="1" pos="3.90" speed="9.18"/>
</lane>
</edge>
<edge id="23491814#6">
<lane id="23491814#6_0">
<vehicle id="0" pos="7.25" speed="13.46"/>
</lane>
</edge>
<edge id="23760577#3">
<lane id="23760577#3_0">
<vehicle id="2" pos="11.35" speed="13.00"/>
</lane>
</edge>
</timestep>
<timestep time="10.00">
<edge id=":256372436_4">
<lane id=":256372436_4_0">
<vehicle id="0" pos="4.30" speed="13.55"/>
</lane>
</edge>
<edge id="-23367699">
<lane id="-23367699_0">
<vehicle id="1" pos="1.13" speed="11.25"/>
</lane>
</edge>
<edge id="16787937#1">
<lane id="16787937#1_0">
<vehicle id="3" pos="27.23" speed="14.58"/>
</lane>
<lane id="16787937#1_1"/>
</edge>
<edge id="23342068#0">
<lane id="23342068#0_0">
<vehicle id="4" pos="12.04" speed="11.19"/>
</lane>
</edge>
<edge id="23760577#3">
<lane id="23760577#3_0">
<vehicle id="2" pos="23.04" speed="11.69"/>
</lane>
</edge>
</timestep>
<timestep time="11.00">
<edge id=":252685877_0">
<lane id=":252685877_0_0">
<vehicle id="0" pos="1.68" speed="12.83"/>
</lane>
</edge>
<edge id=":255033058_0">
<lane id=":255033058_0_0">
<vehicle id="3" pos="0.39" speed="16.89"/>
</lane>
<lane id=":255033058_0_1"/>
</edge>
<edge id="-23367699">
<lane id="-23367699_0">
<vehicle id="1" pos="14.66" speed="13.53"/>
</lane>
</edge>
<edge id="23342068#0">
<lane id="23342068#0_0">
<vehicle id="4" pos="25.61" speed="13.57"/>
</lane>
</edge>
<edge id="23760577#3">
<lane id="23760577#3_0">
<vehicle id="2" pos="31.34" speed="8.30"/>
</lane>
</edge>
</timestep>
<timestep time="12.00">
<edge id=":252753812_4">
<lane id=":252753812_4_0">
<vehicle id="4" pos="1.40" speed="13.02"/>
</lane>
</edge>
<edge id="-23367699">
<lane id="-23367699_0">
<vehicle id="1" pos="27.78" speed="13.11"/>
</lane>
</edge>
<edge id="16787937#2">
<lane id="16787937#2_0">
<vehicle id="3" pos="10.17" speed="19.37"/>
</lane>
<lane id="16787937#2_1"/>
</edge>
<edge id="23491814#8">
<lane id="23491814#8_0">
<vehicle id="0" pos="5.37" speed="12.99"/>
</lane>
</edge>
<edge id="23760577#3">
<lane id="23760577#3_0">
<vehicle id="2" pos="35.32" speed="3.99"/>
</lane>
</edge>
</timestep>
On Fri, Jan 12, 2018 at 10:04 PM, Flávio Alexandre via sumo-user <
sumo-user@xxxxxxxxxxxxxxxxxxxxx> wrote:
> Hello.
> How can I make a bus follow its route again and again?
>
> Thankful,
> Flavio Nunes
> ------------------------------------------------------------
> ------------------
> 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@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/sumo-user
>
------------------------------------------------------------------------------
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@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/sumo-user