首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >脉络输出文件中断

脉络输出文件中断
EN

Stack Overflow用户
提问于 2019-12-04 15:46:31
回答 1查看 48关注 0票数 0

我使用的是sumo-1.2.0、veins 5和omnetpp-5.5.1。

静脉输出文件是interrupted.Is吗?有解决方案吗?

请帮帮我。谢谢。

erlangen.sumo.cfg

代码语言:javascript
复制
<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/sumoConfiguration.xsd">
    <input>
        <net-file value="demo.net.xml"/>
        <route-files value="erlangen.rou.xml"/>
    </input>

    <time>
        <begin value="0"/>
        <end value="400"/>
        <step-length value="1"/>
    </time>

    <report>
        <xml-validation value="never"/>
        <xml-validation.net value="never"/>
        <no-step-log value="true"/>
    </report>

    <gui_only>
        <start value="true"/>
    </gui_only>

    <output>
        <lanechange-output value="lanechange.out.xml"/>
        <amitran-output value="amitran.out.xml"/>
    </output>
<remote-port value="54010"/><seed value="0"/><random value="false"/></configuration>

amitran.out.xml

代码语言:javascript
复制
    <motionState vehicle="47" speed="2245" time="274000" acceleration="0"/>
    <motionState vehicle="48" speed="2222" time="274000" acceleration="0"/>
    <motionState vehicle="46" speed="2222" time="275000" acceleration="0"/>
    <motionState vehicle="47" speed="2245" time="275000" acceleration="0"/>
    <motionState vehicle="48" speed="2222" time="275000" acceleration="0"/>
    <motionState vehicle="46" speed="2222" time="276000" acceleration="0"/>
    <motionState vehicle="47" speed="2245" time="276000" acceleration=

lanechange.out.xml

代码语言:javascript
复制
    <change id="general-car21" type="general-car120" time="172.00" from="central-road_2" to="central-road_1" dir="-1" speed="26.56" pos="2860.37" reason="keepRight" leaderGap="None" leaderSecureGap="None" followerGap="28.05" followerSecureGap="0.81" origLeaderGap="None" origLeaderSecureGap="None"/>
    <change id="general-car15" type="general-car80" time="179.00" from="central-road_1" to="central-road_0" dir="-1" speed="22.22" pos="2982.87" reason="keepRight" leaderGap="61.67" leaderSecureGap="22.22" followerGap="19.22" followerSecureGap="0.00" origLeaderGap="58.42" origLeaderSecureGap="0.81"/>
    <change id="general-car39" type="general-car120" time="179.00" from="central-road_1" to="central-road_0" dir="-1" speed="25.22" pos="1569.01" reason="keepRight" leaderGap="142.20" leaderSecureGap="39.96" followerGap="47.80" followerSecureGap="7.49" origLeaderGap="275.53" origLeaderSecureGap="39.96"/>
    <change id="general-car35" type="general-car100" time="186.00" from="central-road_1" to="central-road_2" dir="1" speed="22.67" pos="2241.03" reason="speedGain" leaderGap="2.64" leaderSecureGap="0.00" followerGap="480.93" followerSecureGap="54.07" origLeaderGap="25.74" origLeaderSecureGap="24.66"/>
    <change id="general-car41" type="general-car100" time="189.00" from="central-road_2" to="central-road_1" dir="-1" speed="27.78" pos="1838.43" reason="keepRight" leaderGap="228.33" leaderSecureGap="56.06" followerGap="112.14" followerSecureGap="24.04" origLeaderGap="441.95" origLeaderSecureGap="77.02"/>
    <change id="general-car36" type="general-car120" time="199.00" from="central-road_2" to="central-road_1" dir="-1" speed="31.51" pos="2647.73" reason="keepRight" leaderGap="296.82" leaderSecureGap="53.92" followerGap="82.08" followerSecureGap="0.00" origLeaderGap="None" origLeaderSecureGap="None"/>
    <change id="general-car31" type="general-car100" time="203.00" from="3to2_1" to="3to2_0" dir="-1" speed="27.78" pos="37.46" reason="keepRight" leaderGap="None" leaderSecureGap="None" followerGap="6.12" followerSecureGap="0.00" origLeaderGap="None" origLeaderSecureGap="None"/>
    <change id="general-car35" type="general-car100" time="211.00" from="central-road_2" t

EN

回答 1

Stack Overflow用户

发布于 2020-01-02 19:02:58

尝试在没有GUI的情况下运行相扑。如果使用sumo-launchd.py启动相扑,请使用:

代码语言:javascript
复制
./sumo-launchd.py -vv -c sumo

而不是:

代码语言:javascript
复制
./sumo-launchd.py -vv -c sumo-gui

我刚刚用与您使用的版本相同的版本测试了erlangen示例。您可能还会对这个答案感兴趣:Veins: Get Tripinfo and emissions in output

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/59171187

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档