Same Target change behavior for all pedestrians in a group
Currently, targets are assigned to agents individually (sources, target changers). This can lead to a splitting of the group, e.g.:
- If some group-members step on a target changer and some others do not.
- If the target changer algorithm provides different targets for each group member.
In the worst case, agents even get stuck. Please find issue #309 (closed).
If a pedestrian is in a group, the target should be changed group-wise.
setTargets method in
Add all group members to
processedAgents in the
TargetChangerController.class only, is not suitable, because the target can also be changed using TraCI. Therefore, it must be directly changed in