Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] vTypeDistribution for pedestrian

Dear All,

I'm trying to retrieve pedestrian info from the tripinfo file.

I defined my pedestrian with:
<vTypeDistribution id="pedestrian">
    <vType vClass="pedestrian"   id="slowpedestrian"  maxSpeed="1.0" latAlignment="compact" probability=".33"/> 
    <vType vClass="pedestrian"   id="avgpedestrian"   maxSpeed="1.5" latAlignment="compact" probability=".33"/> 
    <vType vClass="pedestrian"   id="fastpedestrian"  maxSpeed="2.0" latAlignment="compact" probability=".33"/> 
</vTypeDistribution>

In tripinfo I have a lot of entry such as:
<personinfo id="pedestrian_1-1-pt_1238" depart="32921.00">
    <walk depart="32921.00" departPos="0.00" arrival="33172.00" arrivalPos="69.83" duration="251.00" routeLength="275.64" timeLoss="26.27" maxSpeed="1.23"/>
    <ride waitingTime="210.00" vehicle="bus_3:Otto.14" depart="33382.00" arrival="33429.50" arrivalPos="52.85" duration="47.50" routeLength="275.16"/>
    <walk depart="33429.50" departPos="52.85" arrival="33467.75" arrivalPos="88.37" duration="38.25" routeLength="39.08" timeLoss="6.39" maxSpeed="1.23"/>
    <ride waitingTime="26.50" vehicle="bus_2:Monaco.15" depart="33494.25" arrival="33942.50" arrivalPos="40.87" duration="448.25" routeLength="918.60"/>
    <walk depart="33942.50" departPos="40.87" arrival="34254.00" arrivalPos="12.50" duration="311.50" routeLength="320.66" timeLoss="50.06" maxSpeed="1.23"/>
    <ride waitingTime="998.00" vehicle="bus_5:Larvotto.16" depart="35252.00" arrival="35872.50" arrivalPos="85.49" duration="620.50" routeLength="1537.79"/>
    <walk depart="35872.50" departPos="85.49" arrival="36283.75" arrivalPos="104.97" duration="411.25" routeLength="451.59" timeLoss="43.06" maxSpeed="1.23"/>
</personinfo>

As you can see, there is not info on the person type.
If I run my sim using the gui and I ask for type parameter of a person, the type is DEFAULT_PEDTYPE.

Am I doing it wrong or vTypeDistribution for people are not implemented?
Or maybe is just the information that is not stored in the tripinfo?

Thanks in advance for the help.

Regards,
Lara
 
-- 
Lara CODECA
Postdoc
Tel : 04.93.00.81.51

EURECOM
Campus SophiaTech
http://www.eurecom.fr/


Back to the top