Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: gaowenliang/imu_utils
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: mintar/imu_utils
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 19 commits
  • 18 files changed
  • 2 contributors

Commits on Oct 18, 2021

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

Commits on Nov 15, 2021

  1. Use more precise constants

    57.3 -> (180.0 / M_PI)
    mintar committed Nov 15, 2021
    Configuration menu
    Copy the full SHA
    841d805 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3108c88 View commit details
    Browse the repository at this point in the history
  3. Use rad/s and m/s^2 everywhere

    This gets rid of all the M_PI, 60 and 3600 factors everywhere.
    mintar committed Nov 15, 2021
    Configuration menu
    Copy the full SHA
    c2de88f View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2021

  1. Replace magic constant by proper computation

    sqrt(2 * log(2) / M_PI) = 0.6642824703
    
    See IEEE Standard 952-2020 for Specifying and Testing Single-Axis
    Interferometric Fiber Optic Gyros
    (https://doi.org/10.1109/IEEESTD.2021.9353434), Table B.2 (p. 68)
    mintar committed Nov 16, 2021
    Configuration menu
    Copy the full SHA
    e548939 View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2021

  1. .gitignore: Add *.txt + *.yaml

    mintar committed Nov 20, 2021
    Configuration menu
    Copy the full SHA
    70097f7 View commit details
    Browse the repository at this point in the history
  2. Fix sign-compare warning

    mintar committed Nov 20, 2021
    Configuration menu
    Copy the full SHA
    6ac7d29 View commit details
    Browse the repository at this point in the history
  3. Increase max_num_iterations

    This fixes the problem that often the optimization would abort with
    NO_CONVERGENCE after the default 50 iterations, which could be seen with
    summary.FullReport(). Now it converges every time.
    mintar committed Nov 20, 2021
    Configuration menu
    Copy the full SHA
    fa35799 View commit details
    Browse the repository at this point in the history
  4. Reorder getQ function

    ... so that it follows the standard Q N B K R order.
    mintar committed Nov 20, 2021
    Configuration menu
    Copy the full SHA
    05f7504 View commit details
    Browse the repository at this point in the history
  5. Remove debug printout

    mintar committed Nov 20, 2021
    Configuration menu
    Copy the full SHA
    3a1992a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    02d5eba View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    f53a3fc View commit details
    Browse the repository at this point in the history
  8. Fix getWhiteNoise

    sqrt(calcSigma2(C_Q_, C_N_, C_B_, C_K_, C_R_, 1 ) and getN() produce
    almost the same result (because N dominates the function at tau=1), but
    using the estimated N is correct.
    mintar committed Nov 20, 2021
    Configuration menu
    Copy the full SHA
    9eb3af5 View commit details
    Browse the repository at this point in the history
  9. Print out proper values

    mintar committed Nov 20, 2021
    Configuration menu
    Copy the full SHA
    c40b0d1 View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2021

  1. Fix conversions to discrete-time standard deviation

    Sources:
    
    - "By multiplying the noise density (ND) by the square root of the
      sampling rate (SR), the noise standard deviation at that rate can be
      recovered."
      (https://www.vectornav.com/resources/inertial-navigation-primer/specifications--and--error-budgets/specs-imuspecs)
      sqrt(SR) = sqrt(1/freq), so we have to divide by sqrt(freq).
    - Also see the function generate_signal here: https://github.com/nmayorov/allan-variance/blob/master/example.ipynb
    
    Modified generate_signal:
    
    ```python
    def generate_signal(n, dt, q_white, q_walk, q_ramp, random_state=0):
        rng = np.random.RandomState(random_state)
        white = q_white / dt**0.5 * rng.randn(n)
        walk = q_walk * dt**0.5 * np.cumsum(rng.randn(n))
        ramp = q_ramp * dt * np.arange(n)
        return white + walk + ramp
    ```
    mintar committed Nov 26, 2021
    Configuration menu
    Copy the full SHA
    de46110 View commit details
    Browse the repository at this point in the history
  2. Remove discrete-time functions, write correct yaml file

    The discrete-time standard deviations are only used for generating
    simulated data from the continuous-time standard deviations.
    mintar committed Nov 26, 2021
    Configuration menu
    Copy the full SHA
    c33576f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0c5cd92 View commit details
    Browse the repository at this point in the history
  4. Fix accelerometer printouts

    mintar committed Nov 26, 2021
    Configuration menu
    Copy the full SHA
    c8ef1b3 View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2021

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