Skip to content

Fixed 0 mod 90 rotation angle issues#36

Merged
colemanjs merged 2 commits into
mainfrom
35-rotation-angle-numerical-issues
Jun 24, 2026
Merged

Fixed 0 mod 90 rotation angle issues#36
colemanjs merged 2 commits into
mainfrom
35-rotation-angle-numerical-issues

Conversation

@subravvr

Copy link
Copy Markdown
Collaborator

Issue arose due to floating point math when computing distances along nearly grid-aligned scan vectors (i.e. angle of rotation relative to nominal 0º was 0 mod 90). Fixed by asserting minimal vector component size at initialization.

Also fixed issue with no tolerance when checking SDF.

may be a cleaner way to do this other than np.where, but seemed the most pythonic.

@subravvr subravvr requested a review from colemanjs June 24, 2026 17:28
@subravvr subravvr linked an issue Jun 24, 2026 that may be closed by this pull request
@colemanjs colemanjs merged commit a75acd8 into main Jun 24, 2026
1 check passed
@colemanjs colemanjs deleted the 35-rotation-angle-numerical-issues branch June 24, 2026 18:30
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.

Rotation angle numerical issues

2 participants