Skip to content

Various fixes - #7

Merged
rjoomen merged 6 commits into
tesseract-robotics:mainfrom
rjoomen:main
Feb 18, 2026
Merged

Various fixes#7
rjoomen merged 6 commits into
tesseract-robotics:mainfrom
rjoomen:main

Conversation

@rjoomen

@rjoomen rjoomen commented Feb 18, 2026

Copy link
Copy Markdown
Contributor

No description provided.

claude and others added 6 commits February 16, 2026 07:37
createShapePrimitive() called createShapePrimitiveHelper() a second time
on the return instead of returning the already-created shape. This caused
every geometry to be built twice and the cached instance to be immediately
lost (only held by a weak_ptr in the cache), defeating the cache entirely.

https://claude.ai/code/session_01JpfY1C2isv3cgud2grpKro
The normal was computed as (distance * (p1 - p0)).normalized(). When
distance is exactly zero this produces a zero vector whose normalization
is NaN. Use std::copysign to extract only the sign (+1/-1) so the
direction is preserved for negative distances without collapsing to zero.

https://claude.ai/code/session_01JpfY1C2isv3cgud2grpKro
The assertion searched pose1 for a key from pose1 (always succeeds) and
compared the result against pose2.end(), mixing iterators from different
containers which is undefined behavior. Fix by searching pose2 instead,
which correctly validates that the key exists in both maps.

https://claude.ai/code/session_01JpfY1C2isv3cgud2grpKro
@rjoomen
rjoomen merged commit cf21223 into tesseract-robotics:main Feb 18, 2026
1 of 13 checks passed
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.

2 participants