Skip to content

Step 1: IMU rate and frame options, lidar point timestamps, backgroun… - #668

Merged
michalpelka merged 1 commit into
mainfrom
mp/step1-imu-options
Nov 29, 2026
Merged

michalpelka merged 1 commit into
mainfrom
mp/step1-imu-options

Conversation

@michalpelka

Copy link
Copy Markdown
Contributor

…d on start

  • imu_target_rate_hz ([imu], default -1 = every sample): average the IMU to a lower rate during load, e.g. 207 Hz for the 1451 Hz Murata IMU. Each bin is stamped with its last sample, as step 1 applies a reading over the interval that ends at its timestamp.
  • imu_offset_qw/qx/qy/qz ([imu], default identity): rotate the IMU readings from the IMU frame into the lidar frame during load.
  • use_uniform_point_timestamps ([lidar_odometry_control], default true): false keeps the lidar's own point timestamps instead of respacing each window's points evenly, which is off by several ms when the point rate is uneven (e.g. Hesai no-return sectors).
  • GUI: apply the background colour from the parameters every frame, so it shows from the start and after loading a preset or TOML, not only after the View menu has been opened.

The new parameters are in the TOML, GUI and Python bindings, and their defaults keep the current trajectory. Visible change: a fresh step 1 GUI now opens with the default parameter background colour instead of light grey. Unit tests cover average_imu_to_rate and rotate_imu.

…d on start

- imu_target_rate_hz ([imu], default -1 = every sample): average the IMU to a
  lower rate during load, e.g. 207 Hz for the 1451 Hz Murata IMU. Each bin is
  stamped with its last sample, as step 1 applies a reading over the interval
  that ends at its timestamp.
- imu_offset_qw/qx/qy/qz ([imu], default identity): rotate the IMU readings
  from the IMU frame into the lidar frame during load.
- use_uniform_point_timestamps ([lidar_odometry_control], default true): false
  keeps the lidar's own point timestamps instead of respacing each window's
  points evenly, which is off by several ms when the point rate is uneven
  (e.g. Hesai no-return sectors).
- GUI: apply the background colour from the parameters every frame, so it
  shows from the start and after loading a preset or TOML, not only after the
  View menu has been opened.

The new parameters are in the TOML, GUI and Python bindings, and their
defaults keep the current trajectory. Visible change: a fresh step 1 GUI now
opens with the default parameter background colour instead of light grey.
Unit tests cover average_imu_to_rate and rotate_imu.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0184ocBc5yFFQUgi6khXbB9E
@michalpelka
michalpelka marked this pull request as ready for review November 28, 2026 19:40
@michalpelka
michalpelka merged commit 8e9c765 into main Nov 29, 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.

1 participant