Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pbio/imu: Implement 3D attitude and fusion of IMU data. #270

Open
wants to merge 14 commits into
base: master
Choose a base branch
from

Commits on Oct 17, 2024

  1. Configuration menu
    Copy the full SHA
    4ddd2d8 View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2024

  1. Configuration menu
    Copy the full SHA
    f79af7f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6006d2b View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2024

  1. pbio/imu: Refactor settings setters with flags.

    These flags will later be used to test which calibration has been done already.
    
    We can use the same flag to optionally set settings, rather than use NAN to indicate nothing set.
    laurensvalk committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    9c75126 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    60759b4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f00e345 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    60273d6 View commit details
    Browse the repository at this point in the history
  5. pybricks/util_mp: Unify all args None test.

    Since this is done in quite a few functions, this should make the build size smaller and the code easier to follow.
    laurensvalk committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    4fa2174 View commit details
    Browse the repository at this point in the history
  6. pybricks/util_mp: Use args None test.

    Since this is done in quite a few functions, this should make the build size smaller and the code easier to follow.
    laurensvalk committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    15c84e7 View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2024

  1. Configuration menu
    Copy the full SHA
    9388ddb View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2024

  1. Configuration menu
    Copy the full SHA
    216a0b6 View commit details
    Browse the repository at this point in the history
  2. pbio/imu: Save one off bias calibration.

    When the hub first boots, it is good to have an initial value for the bias to help suppress drift during the first nonstationary seconds.
    
    As an estimate, we can use the bias first saved on the previous boot.
    laurensvalk committed Oct 25, 2024
    Configuration menu
    Copy the full SHA
    30974de View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2024

  1. pbio/drv/imu_lsm6ds3: Start stationary detection from slow average.

    When starting from the latest sample as we did before, the odds are higher that we start on an outlier and have to restart, or allow larger errors.
    laurensvalk committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    037543d View commit details
    Browse the repository at this point in the history
  2. pbio/imu: Reduce default gyro threshold to 2deg/s.

    Now that it is a bit less sensitive to outliers, we can reduce this value. See pybricks/support#1105
    laurensvalk committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    accb117 View commit details
    Browse the repository at this point in the history