Skip to content

Fix discarded decimation - #597

Merged
JanuszBedkowski merged 1 commit into
MapsHD:mainfrom
mwlasiuk:mw/fix-decimation
Nov 2, 2026
Merged

JanuszBedkowski merged 1 commit into
MapsHD:mainfrom
mwlasiuk:mw/fix-decimation

Conversation

@mwlasiuk

@mwlasiuk mwlasiuk commented Oct 30, 2026 •

Copy link
Copy Markdown
Collaborator

Closes #596

@mwlasiuk
mwlasiuk marked this pull request as ready for review November 1, 2026 23:52
@JanuszBedkowski
JanuszBedkowski merged commit 5d881b1 into MapsHD:main Nov 2, 2026
7 checks passed
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
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.

Lidar odometry step 1 points decimation

2 participants