Skip to content

INSTRM-3014 Widen candidacy and fix dot cleanup - #25

Open
alefur wants to merge 1 commit into
masterfrom
tickets/INSTRM-3014
Open

INSTRM-3014 Widen candidacy and fix dot cleanup#25
alefur wants to merge 1 commit into
masterfrom
tickets/INSTRM-3014

Conversation

@alefur

@alefur alefur commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Candidacy allowed a cobra only the spots within its arm length plus a fixed 100 um fudge, so a cobra commanded near full extension lands outside its own radius and its spot is claimed by a neighbour that has no other candidate. Scale the arm length as well, so the allowance grows with the arm rather than staying fixed while the modelled geometry drifts by more.

A cobra declared hidden behind a dot removed its own index from potPointMatch, which holds point indices, so it deleted the point of that index from every other cobra's candidate list. Remove it from the points' candidate lists instead, as firstPass does.

Candidacy allowed a cobra only the spots within its arm length plus a fixed
100 um fudge, so a cobra commanded near full extension lands outside its own
radius and its spot is claimed by a neighbour that has no other candidate.
Scale the arm length as well, so the allowance grows with the arm rather than
staying fixed while the modelled geometry drifts by more.

A cobra declared hidden behind a dot removed its own index from potPointMatch,
which holds point indices, so it deleted the point of that index from every
other cobra's candidate list.  Remove it from the points' candidate lists
instead, as firstPass does.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@alefur
alefur requested a review from JenniferKarr September 9, 2026 12:36
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.

1 participant