Thanks! Now I understand how the person type works

One quick follow up: in pedestrianFlow.py maxSpeed units are meters per
second?

Regards

Pablo

On Fri, Feb 10, 2017 at 1:00 AM, Jakob Erdmann <[email protected]>
wrote:

> Hello,
> - the pedestrianFlow tool requires on additional argument for it's output
> file at the moment.
> i.e.  ./pedestrianFlow.py pedestrians.rou.xml
> --route=-32995#2.0,-32995#2.119 -b 0 -e 120 -s 0.5
>
> - the type definition for a person is described at the top of the page:
> http://sumo.dlr.de/wiki/Specification/Persons#Persons (it uses the vType
> element just as vehicles do
>
> regards,
> Jakob
>
> 2017-02-10 2:41 GMT+01:00 pablo lopez ramirez <[email protected]>:
>
>> Hi list!
>>
>> I'm trying to simulate different types of pedestrians, essentially
>> pedestrians with different walking speeds. In the docs about pedestrians
>> it
>> says that speed is defined in the person type definition but I couldn't
>> find any examples.
>>
>> Also, I think I can achieve the same thing using the pedestrianFlow.py
>> tool
>> and specifying max speed. But I just can't figure out how to use that
>> tool,
>> I've tried something like:
>>
>> ./pedestrianFlow.py --route=-32995#2.0,-32995#2.119 -b 0 -e 120 -s 0.5
>>
>> But i get the error:
>> Traceback (most recent call last):
>>   File "./pedestrianFlow.py", line 109, in <module>
>>     main()
>>   File "./pedestrianFlow.py", line 94, in main
>>     options = get_options()
>>   File "./pedestrianFlow.py", line 62, in get_options
>>     options.output = args[0]
>> IndexError: list index out of range
>>
>> So there is something wrong with my parameters
>>
>> Any help is appreciated
>>
>> Regards
>> --
>> Pablo.
>> ------------------------------------------------------------
>> ------------------
>> 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
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/sumo-user
>>
>
>


-- 
Pablo.
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to