Skip to content

Step 3: instrument offset from two paths, --downsample option - #681

Merged
JanuszBedkowski merged 1 commit into
MapsHD:mainfrom
michalpelka:mp/step3-instrument-offset
Dec 4, 2026
Merged

JanuszBedkowski merged 1 commit into
MapsHD:mainfrom
michalpelka:mp/step3-instrument-offset

Conversation

@michalpelka

@michalpelka michalpelka commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor
  • Tools > Instrument offset: fixed pose of one instrument (e.g. a camera session) relative to another (e.g. the lidar session) on the same rig, fitted from their paths: frame * S(instrument(t)) = reference(t + time shift) * offset. Levenberg-Marquardt on the new observation equation path_to_path_tait_bryan_wc (observation_equations submodule bumped), optionally estimating the time shift, the frame of the instrument path and its scale. Shows the offset (translation, quaternion, om fi ka, matrix), time shift, scale, frame and residuals; logs them and copies or saves them as JSON. Code in core (instrument_offset), unit tests with a synthetic rig.
  • --downsample : bucket size for downsampling during load, 0 loads full density; step 3 logs the setting it uses.

@michalpelka
michalpelka force-pushed the mp/step3-instrument-offset branch from 0e92eac to c918e1a Compare December 3, 2026 13:17
@michalpelka
michalpelka marked this pull request as ready for review December 3, 2026 13:24
- Tools > Instrument offset: fixed pose of one instrument (e.g. a camera
  session) relative to another (e.g. the lidar session) on the same rig,
  fitted from their paths: frame * S(instrument(t)) = reference(t + time
  shift) * offset. Levenberg-Marquardt on the new observation equation
  path_to_path_tait_bryan_wc (observation_equations submodule bumped),
  optionally estimating the time shift, the frame of the instrument path
  and its scale. Shows the offset (translation, quaternion, om fi ka,
  matrix), time shift, scale, frame and residuals; logs them and copies or
  saves them as JSON. Code in core (instrument_offset), unit tests with a
  synthetic rig.
- Camera calibration from the offset: with the camera session chosen
  (reference or instrument, FLU or optical axes), the window shows the
  cam_<lens>.json "extrinsics" block (T_lidar_to_camera_4x4, camera
  position and rotation in the lidar frame) and the trajectory viewer time
  offset, with a copy button; the saved JSON gains a "camera" section.
  instrument_offset::camera_extrinsics in core, with unit tests.
- --downsample <m>: bucket size for downsampling during load, 0 loads full
  density; step 3 logs the setting it uses.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0184ocBc5yFFQUgi6khXbB9E
@michalpelka
michalpelka force-pushed the mp/step3-instrument-offset branch from c918e1a to 79424e4 Compare December 3, 2026 16:43
@JanuszBedkowski
JanuszBedkowski merged commit 833fbe7 into MapsHD:main Dec 4, 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.

2 participants