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

Fix Cognitive Coordinated #195

Merged
merged 2 commits into from
Jan 27, 2025
Merged

Fix Cognitive Coordinated #195

merged 2 commits into from
Jan 27, 2025

Conversation

mads256h
Copy link
Member

@mads256h mads256h commented Jan 20, 2025

Use the global patrolling map, so the robots know about the real idleness of all vertices.
Create a coordinator to coordinate which vertices robots occupy to avoid going to the same vertex.

Clean up the code in many places, to make it nicer on the slides.

Right now it does nothing with the vertices received from other robots.
This fixes that by using vertex ids instead of vertex objects.

This uncovered a bug where it tried to start from the nearest waypoint
causing pathfinding from and to the same waypoint, which is not in the
dictionary of paths causing an exception.
@miniJmo
Copy link

miniJmo commented Jan 21, 2025

check d500f53 for an updated CC algorithm, mainly a broadcast was missing.

edit: I made an error so check the newest version on 3c87921

@mads256h mads256h marked this pull request as ready for review January 21, 2025 10:02
@mads256h mads256h force-pushed the fix-cc branch 4 times, most recently from deb3939 to cbb3d1c Compare January 21, 2025 11:24
@mads256h mads256h merged commit 0818cd0 into main Jan 27, 2025
7 checks passed
@mads256h mads256h deleted the fix-cc branch January 27, 2025 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants