Skip to content

Step 1: warn when data has several LiDARs but no calibration - #677

Merged
michalpelka merged 1 commit into
mainfrom
mp/warn_multi_lidar_no_calibration
Dec 2, 2026
Merged

michalpelka merged 1 commit into
mainfrom
mp/warn_multi_lidar_no_calibration

Conversation

@michalpelka

Copy link
Copy Markdown
Contributor

Fixes #676

What

When step 1 loads a recording from more than one LiDAR and there is no calibration file, the LiDAR point clouds are not aligned and the results are wrong. Until now this was only one easy-to-miss console line.

  • load_imu now also returns the IMU ids it finds in each imu*.csv (new overload; the existing two-argument version is unchanged for other callers).
  • load_data merges those ids. If there is more than one and no calibration was loaded, it prints a warning and asks the optional LidarOdometryParams::confirm_continue hook.
  • The GUI sets that hook to a Yes/No dialog. Yes continues as before. No cancels the run; the run report is marked cancelled, with no "Operation failed" message and no failure report.
  • The command line and other callers of load_data have no hook, so they print the warning and continue, and batch runs are never blocked.

User-visible change

  • GUI: a warning dialog appears for multi-LiDAR data without a calibration file.
  • CLI: an extra WARNING: line on stderr in the same case.

Results are unchanged: the check only reads IMU ids and doesn't change what is loaded. Single-LiDAR data never triggers it.

Testing

  • Built on Linux; all unit tests pass.
  • Checked by hand on a multi-LiDAR recording without a calibration file.
  • Not yet tested on Windows.

🤖 Generated with Claude Code

@michalpelka
michalpelka force-pushed the mp/warn_multi_lidar_no_calibration branch from 523203f to 23d2a27 Compare December 2, 2026 12:56
…alid calibration

Fixes #676

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@michalpelka
michalpelka force-pushed the mp/warn_multi_lidar_no_calibration branch from 23d2a27 to e07c0ea Compare December 2, 2026 13:27
@michalpelka
michalpelka merged commit b7e85c7 into main Dec 2, 2026
7 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.

Step 1 - report error when there are more than one Lidar in setup and no calibration file

1 participant