Skip to content

separate IMU bias noise - #323

Merged
koide3 merged 1 commit into
masterfrom
separate_imu_bias
Aug 27, 2026
Merged

koide3 merged 1 commit into
masterfrom
separate_imu_bias

Conversation

@koide3

@koide3 koide3 commented Aug 27, 2026

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The initialization path invokes on_update_new_frame before the estimator has performed its “corrected” update, conflicting with the callback’s documented semantics and causing an incorrect/duplicate update event.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Updates IMU-related odometry configuration and factor construction to support separate accelerometer vs gyroscope bias random-walk noise, and refreshes config/docs to reflect the new parameters.

Changes:

  • Split IMU bias noise into imu_bias_noise_acc and imu_bias_noise_gyro (with backward-compatible support for deprecated imu_bias_noise).
  • Construct bias random-walk noise as a 6D diagonal noise model with separate accel/gyro sigmas scaled by sqrt(dt).
  • Update sensor config documentation/keys and clarify IMU noise units in headers.
File summaries
File Description
src/glim/odometry/odometry_estimation_imu.cpp Reads separate bias noise params and applies them in the bias BetweenFactor; adds an extra callback invocation.
include/glim/odometry/odometry_estimation_imu.hpp Replaces single imu_bias_noise with accel/gyro bias noise parameters.
include/glim/common/imu_integration.hpp Clarifies accelerometer/gyroscope noise density units in comments.
config/config_sensors.json Documents and provides new imu_bias_noise_acc / imu_bias_noise_gyro keys; marks imu_bias_noise deprecated.
Review details
  • Files reviewed: 4/4 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines 213 to 215
Callbacks::on_new_frame(new_frame);
Callbacks::on_update_new_frame(new_frame);
frames.push_back(new_frame);
@koide3
koide3 merged commit 7a884f0 into master Aug 27, 2026
7 checks passed
@koide3
koide3 deleted the separate_imu_bias branch August 27, 2026 09:53
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