Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clustering evac and room exit weights bug #380

Open
AleksanderKamienski opened this issue Dec 22, 2024 · 1 comment
Open

clustering evac and room exit weights bug #380

AleksanderKamienski opened this issue Dec 22, 2024 · 1 comment
Labels
bug evac_submodel Issues with evacuation submodel (rvo, navmesh, evac_mcarlo...)

Comments

@AleksanderKamienski
Copy link
Contributor

Error in combining the agent clustering functionality and door weight functionality. It happens that followers pass through the door in front of the leader and then are assigned a goal similar to the leader (the door they have just passed through) - this causes the agents to push, some in one direction of the door, others in the other.

Below I added the cad.json and conf.json file for the scenario for which this occurred. For navmesh debugging purposes, evac/config.json.DETECTION_TIME parameter was set to 0.

image

conf.json
cad.json

@kowalskiw
Copy link
Member

Proposition from today's meeting: we can add a switch that turns off leader following feature.

Hence, there will be two modes of grouping algorithm:

  1. Default - agents are clustered, same pre-evac time within cluster, all agents follow near-centroid leader (goal on leader's next door).
  2. Modified - agents are clustered, same pre-evac time within cluster, each agent heads to the final exit.

Changes required:

  • checkbox in advanced form with label like "leader following"
  • condition in evac.worker where all agents are flagged as leaders if leader-following feature is disabled

@kowalskiw kowalskiw added the evac_submodel Issues with evacuation submodel (rvo, navmesh, evac_mcarlo...) label Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug evac_submodel Issues with evacuation submodel (rvo, navmesh, evac_mcarlo...)
Projects
None yet
Development

No branches or pull requests

2 participants