Hello, first I'd like to thank the developers for introducing persons and plans and I got it to work!

However, I came across an issue with duarouter:
When defining the type for a person in the trip file,
the vType definition gets lost in the route file.
The attached trip file has been routed with the cml

When copy /pasting the vType definition from the trip file in the route file then sumo works, otherwise it throws an error saying that
Error: The type 'pedestrian' for person '0' is not known.

Maybe you know this issue, but I just cannot find where to post it better (I noticed web-sites are moving at the moment...)

Best wishes,

Joerg

<trips>
<vType id="pedestrian" maxSpeed = "1.5" guiShape = "pedestrian" color = "210,128,0" accel = "1.5" decel = "2.0" height = "1.719" vClass = "pedestrian" width = "0.478" length = "0.215" minGap = "0.5" sigma = "0.5"  />
<person  id="0" depart="1942" type="pedestrian">
  <walk  from="1/0to0/0" to="0/1to0/2" departPos="8.66" arrivalPos="76.59"/>
</person>
<person  id="1" depart="2099" type="pedestrian">
  <walk  from="0/2to1/2" to="1/0to0/0" departPos="8.51" arrivalPos="77.94"/>
</person>
</trips>
<?xml version="1.0" encoding="UTF-8"?>

<!-- generated on Tue Oct 21 14:35:26 2014 by SUMO duarouter Version 0.21.0
<?xml version="1.0" encoding="UTF-8"?>

<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:noNamespaceSchemaLocation="http://sumo-sim.org/xsd/duarouterConfiguration.xsd";>

    <input>
        <net-file value="/home/joerg/projects/sumopy/scenarios/test_walking/walkgen_a.net.xml"/>
        <trip-files value="/home/joerg/projects/sumopy/scenarios/test_walking/walkgen_a.trip.xml"/>
    </input>

    <output>
        <output-file value="/home/joerg/projects/sumopy/scenarios/test_walking/walkgen_a.rou.xml"/>
    </output>

    <report>
        <verbose value="true"/>
    </report>

</configuration>
-->

<routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:noNamespaceSchemaLocation="http://sumo-sim.org/xsd/routes_file.xsd";>
    <person id="0" depart="1942" type="pedestrian">
        <walk departPos="8.660000" arrivalPos="76.590000" edges="1/0to0/0 0/0to0/1 0/1to0/2"/>
    </person>
    <person id="1" depart="2099" type="pedestrian">
        <walk departPos="8.510000" arrivalPos="77.940000" edges="0/2to1/2 0/1to0/2 0/0to0/1 1/0to0/0"/>
    </person>
</routes>
------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to