Repository navigation
Fix discarded decimation - #597
Merged
Merged
Conversation
mwlasiuk
marked this pull request as ready for review
November 1, 2026 23:52
michalpelka
added a commit
that referenced
this pull request
Nov 22, 2026
#650) Reverts 1ca7648 (#597, "Fix discarded decimation") and 547e517 (#598, "Fix deg to rad"). With the decimation fix, the map buffer is decimated at every sliding-window reset (sliding_window_trajectory_length_threshold, 200 m by default). On the trial-1 recording the trajectory then diverges at the first reset (chunk 56, ~286 s) and runs ~81 m away from the start. v0.106 handles the same data. Measured on trial-1 against v0.106 (session_ini_poses.mri, per chunk): - v0.107: 81.4 m max position difference, diverges - v0.107 without #597: 9.7 mm max, no divergence - v0.107 without #597 and #598: 0.0 mm (identical to v0.106) So no other change between v0.106 and v0.107 affects the trajectory. The deg-to-rad fix is reverted as well so results match v0.106 exactly; it should come back together with a validated decimation change. Claude-Session: https://claude.ai/code/session_0158FTTFdaEUtjG7Jvj6EGip Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
michalpelka
added a commit
that referenced
this pull request
Nov 23, 2026
long-corridor (62 m) never reaches the 200 m sliding-window reset, and the step 1 trajectory on it depends on which point decimate() keeps per voxel: Linux closes the loop, Windows slips 10 m, macOS is 8 cm off. Each platform is repeatable, but the recording is too degenerate to be a reference. calibration-room/trial-1 of the same Zenodo dataset (380 s, ~300 m) is the recording v0.107 diverged on, so the check would have caught #597 and #598. The golden trajectory is the v0.106 result on Linux; a second v0.106 run matches it with an ATE of 0.00 mm and v0.107 is 38 m RMSE off. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0158FTTFdaEUtjG7Jvj6EGip
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #596