Skip to content

Fix pose interpolation past end - #577

Merged
JanuszBedkowski merged 3 commits into
MapsHD:mainfrom
capCafu:fix-pose-interpolation-past-end
Oct 24, 2026
Merged

JanuszBedkowski merged 3 commits into
MapsHD:mainfrom
capCafu:fix-pose-interpolation-past-end

Conversation

@capCafu

@capCafu capCafu commented Oct 23, 2026

Copy link
Copy Markdown
Contributor

getInterpolatedPose() dereferenced end() when query_time was after the last
pose. This is undefined behavior and aborts in a _GLIBCXX_DEBUG build.

  • Check end() before dereferencing
  • Build the shared tests with _GLIBCXX_DEBUG
  • Add a test for queries after the last pose

Built and tested on Linux like cmake-linux.yml; all ctest suites pass.

@JanuszBedkowski
JanuszBedkowski merged commit 0836121 into MapsHD:main Oct 24, 2026
7 checks passed
@capCafu
capCafu deleted the fix-pose-interpolation-past-end branch October 24, 2026 09:19
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