MengeCrowdSim / Menge

The source code for the Menge crowd simulation framework
Apache License 2.0
139 stars 64 forks source link

Covert distance/speed units in local coordinate system to units in real world? #65

Closed zhangl64 closed 7 years ago

zhangl64 commented 7 years ago

Hi, I have a naive question here - can we convert the distance and speed units in Menge's local coordinate system to the corresponding units in real world? For example, in the scene specification, when we set neighbor_dist="1", can we say that "1" equals to "x" meters (where "x" is the physical space in real world)? Another example is the speed, e.g., pref_speed="1.04", can we convert its unit to meters per second? Thanks.

MengeCrowdSim commented 7 years ago

I have good news for you:

1) The units can be anything you like. It's just a case of being consistent and knowing how to interpret. 2) Menge's examples all (should) use SI. So, meters, meters per second, etc. A circle of approx 0.2 m radius is human sized. Average walking speed is 1.3 m/s. If you see an example that used units other than those, please let us know.

zhangl64 commented 7 years ago

@MengeCrowdSim Who don't like good news:) Thank you so much for your help~