Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] How to get different person's height

I first replied to a previous message without seeing you already found a part of the solution. There is traci.person.setHeight(ID) as well to change the value individually. I would expect vType distributions with several pedestrian vTypes to work as well to generate various different pedestrians from input files.

 

Best regards

Mirko

 

 

 

-----Original-Nachricht-----

Betreff: [sumo-user] How to get different person's height

Datum: 2023-12-28T15:04:20+0100

Von: "Gervalino Bilas via sumo-user" <sumo-user@xxxxxxxxxxx>

An: "Sumo project User discussions" <sumo-user@xxxxxxxxxxx>

 

 

 

Hello.

I saw that it is possible to get the height of a person (pedestrian) by his ID:
traci.person.getHeight(personId)

But all pedestrians have the same height.

Is there a way to config the simulation to change this value?

And if there is, what logic (distribution) is used to generate this value?

[]'s


Back to the top