Skip to content

Add coarse alignment and initial bias estimation utilities #128

Description

@jbrodovsky

Context

Strapdown performance is highly sensitive to initial attitude and bias estimates. A repeatable alignment step improves usability and reproducibility, especially for static start conditions.

Scope / Requirements

  • Add an alignment helper to estimate roll/pitch from averaged accelerometer (gravity) over a configurable window.
  • Optionally estimate yaw from magnetometer heading or GNSS course (when available).
  • Estimate initial accel/gyro biases from the same static window.
  • Expose alignment controls in strapdown-sim (e.g., --align-seconds, --align-use-mag, --align-use-gnss).
  • Log alignment results and confidence indicators.

Acceptance Criteria

  • On synthetic static data, alignment yields <1° roll/pitch error and <5° yaw error when a heading source is available.
  • Output initial state matches InitialState conventions (degrees/radians, ENU/NED).
  • Unit tests cover alignment against known vectors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestfree-coreFree Core product features (open-source/academic)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions