Make escalators direction-dependent
Short description of suggestion
JuPedSim allows us to define subrooms as "stairs" or "escalators". So far the escalator only influences an agent's speed, defined by the parameters
- v0_escalator_upstairs mu="0.5" sigma="0.0"/
- v0_escalator_downstairs mu="0.5" sigma="0.0"/
However, the direction of an escalator isn't considered in the routing. This mean that agents can take escalators in the wrong direction.
How to change this:
Talking to Arne and Mohcine, we figured out a way that could possibly work.
- class="escalator"
has to be further specified by:
- class="escalator_up"
- class="escalator_down"
After initializing the distance_matrix the distance value in the forbidden direction has to be changed to a very large value for each escalator. The subroom is then unlikely to be chosen.
Best, Benni
Edited by benjamin moehring