Skip to content

Check distance between obstacles for narrow bottlenecks.

Mayr, Christina Maria requested to merge agents_unclogged into master

Sometimes agents get stuck in front of corridors.

vadere_2022_03_11_12_27_13

Reason: the global minimum (within walking distance) is in front of the corridor.

The smaller the corridor, the more likely is it that agents get stuck. One option is to adjust the attributes of the floorfield, in particular, the parameter targetAttractionStrength. See AttributesFloorField for details.

To make users aware of this problem I extended the scenario checker. It gives a warning if obstacles have a distance less 1.28m. If obstacles are connected, the distance is 0. If so, the scenario checker does not produce a warning, see example below.

Limitation

The agent A is stuck in front of the corridor. The target T is on the right. Left: the bottleneck is identified. A user warning is produced including the distance c. Right: no warning is produced.

Edited by Mayr, Christina Maria

Merge request reports