Skip to content

Conversation

@nushakrishnan
Copy link
Collaborator

Also removed a legacy comment.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR removes the optimize_imu_from_rig configuration option and ensures that IMU-to-rig transformation parameters are always kept constant during optimization. The change simplifies the optimization configuration by hardcoding this behavior instead of making it configurable.

  • Removed optimize_imu_from_rig boolean flag from configuration options
  • Updated optimization logic to always keep IMU-to-rig parameters constant
  • Cleaned up legacy comment in defaults configuration

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
lamaria/config/options.py Removed optimize_imu_from_rig boolean field from OptIMUOptions class
lamaria/pipeline/optim/residual.py Simplified optimization setup by removing conditional logic and always keeping IMU-to-rig parameters constant
defaults.yaml Removed optimize_imu_from_rig configuration entry and legacy comment

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@nushakrishnan
Copy link
Collaborator Author

Accidentally clicked on Copilot for review... is there a way to disable this option?

@nushakrishnan nushakrishnan merged commit b4bf413 into main Oct 8, 2025
1 check passed
@nushakrishnan nushakrishnan deleted the constant_imu_t branch October 8, 2025 14:03
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.

3 participants