Class RANSACRobustKnownBiasTurntableGyroscopeCalibrator

java.lang.Object
com.irurueta.navigation.inertial.calibration.gyroscope.RobustKnownBiasTurntableGyroscopeCalibrator
com.irurueta.navigation.inertial.calibration.gyroscope.RANSACRobustKnownBiasTurntableGyroscopeCalibrator
All Implemented Interfaces:
AccelerometerDependentGyroscopeCalibrator, GyroscopeCalibrator, GyroscopeNonLinearCalibrator, KnownBiasGyroscopeCalibrator, OrderedStandardDeviationBodyKinematicsGyroscopeCalibrator, QualityScoredGyroscopeCalibrator

public class RANSACRobustKnownBiasTurntableGyroscopeCalibrator extends RobustKnownBiasTurntableGyroscopeCalibrator
Robustly estimates gyroscope cross couplings and scaling factors along with G-dependent cross biases introduced on the gyroscope by the specific forces sensed by the accelerometer using RANSAC robust estimator when gyroscope biases are known.

This calibrator assumes that the IMU is placed flat on a turntable spinning at constant speed, but absolute orientation or position of IMU is unknown. Turntable must rotate fast enough so that Earth rotation effects can be neglected, bus slow enough so that gyroscope readings can be properly made.

To use this calibrator at least 10 measurements are needed when common z-axis is assumed and G-dependent cross biases are ignored, otherwise at least 13 measurements are required when common z-axis is not assumed. If G-dependent cross biases are being estimated, then at least 19 measurements are needed when common z-axis is assumed, otherwise at least 22 measurements are required when common z-axis is not assumed.

Measured gyroscope angular rates is assumed to follow the model shown below:

     Ωmeas = bg + (I + Mg) * Ωtrue + Gg * ftrue + w
 
Where: - Ωmeas is the measured gyroscope angular rates. This is a 3x1 vector. - bg is the gyroscope bias. Ideally, on a perfect gyroscope, this should be a 3x1 zero vector. - I is the 3x3 identity matrix. - Mg is the 3x3 matrix containing cross-couplings and scaling factors. Ideally, on a perfect gyroscope, this should be a 3x3 zero matrix. - Ωtrue is ground-truth gyroscope angular rates. - Gg is the G-dependent cross biases introduced by the specific forces sensed by the accelerometer. Ideally, on a perfect gyroscope, this should be a 3x3 zero matrix. - ftrue is ground-truth specific force. This is a 3x1 vector. - w is measurement noise. This is a 3x1 vector.
  • Field Details

    • DEFAULT_THRESHOLD

      public static final double DEFAULT_THRESHOLD
      Constant defining default threshold to determine whether samples are inliers or not.
      See Also:
    • MIN_THRESHOLD

      public static final double MIN_THRESHOLD
      Minimum value that can be set as threshold. Threshold must be strictly greater than 0.0.
      See Also:
    • DEFAULT_COMPUTE_AND_KEEP_INLIERS

      public static final boolean DEFAULT_COMPUTE_AND_KEEP_INLIERS
      Indicates that by default inliers will only be computed but not kept.
      See Also:
    • DEFAULT_COMPUTE_AND_KEEP_RESIDUALS

      public static final boolean DEFAULT_COMPUTE_AND_KEEP_RESIDUALS
      Indicates that by default residuals will only be computed but not kept.
      See Also:
    • threshold

      private double threshold
      Threshold to determine whether samples are inliers or not when testing possible solutions. The threshold refers to the amount of error on distance between estimated position and distances provided for each sample.
    • computeAndKeepInliers

      private boolean computeAndKeepInliers
      Indicates whether inliers must be computed and kept.
    • computeAndKeepResiduals

      private boolean computeAndKeepResiduals
      Indicates whether residuals must be computed and kept.
  • Constructor Details

    • RANSACRobustKnownBiasTurntableGyroscopeCalibrator

      public RANSACRobustKnownBiasTurntableGyroscopeCalibrator()
      Constructor.
    • RANSACRobustKnownBiasTurntableGyroscopeCalibrator

      public RANSACRobustKnownBiasTurntableGyroscopeCalibrator(com.irurueta.navigation.frames.ECEFPosition position, double turntableRotationRate, double timeInterval, List<StandardDeviationBodyKinematics> measurements, com.irurueta.algebra.Matrix bias, com.irurueta.algebra.Matrix initialMg, com.irurueta.algebra.Matrix initialGg)
      Constructor.
      Parameters:
      position - position where body kinematics measures have been taken.
      turntableRotationRate - constant rotation rate at which the turntable is spinning. Must be expressed in radians per second (rad/s).
      timeInterval - time interval between measurements being captured expressed in seconds (s).
      measurements - collection of body kinematics measurements with standard deviations taken at the same position with zero velocity and unknown different orientations.
      bias - known gyroscope bias. This must be 3x1 and is expressed in radians per second (rad/s).
      initialMg - initial gyroscope scale factors and cross coupling errors matrix. Must be 3x3.
      initialGg - initial gyroscope G-dependent cross biases introduced on the gyroscope by the specific forces sensed by the accelerometer. Must be 3x3.
      Throws:
      IllegalArgumentException - if any of the provided values does not have proper size or if either turntable rotation rate or time interval is zero or negative.
    • RANSACRobustKnownBiasTurntableGyroscopeCalibrator

      public RANSACRobustKnownBiasTurntableGyroscopeCalibrator(com.irurueta.navigation.frames.ECEFPosition position, double turntableRotationRate, double timeInterval, List<StandardDeviationBodyKinematics> measurements, com.irurueta.algebra.Matrix bias, com.irurueta.algebra.Matrix initialMg, com.irurueta.algebra.Matrix initialGg, RobustKnownBiasTurntableGyroscopeCalibratorListener listener)
      Constructor.
      Parameters:
      position - position where body kinematics measures have been taken.
      turntableRotationRate - constant rotation rate at which the turntable is spinning. Must be expressed in radians per second (rad/s).
      timeInterval - time interval between measurements being captured expressed in seconds (s).
      measurements - collection of body kinematics measurements with standard deviations taken at the same position with zero velocity and unknown different orientations.
      bias - known gyroscope bias. This must be 3x1 and is expressed in radians per second (rad/s).
      initialMg - initial gyroscope scale factors and cross coupling errors matrix. Must be 3x3.
      initialGg - initial gyroscope G-dependent cross biases introduced on the gyroscope by the specific forces sensed by the accelerometer. Must be 3x3.
      listener - listener to handle events raised by this calibrator.
      Throws:
      IllegalArgumentException - if any of the provided values does not have proper size or if either turntable rotation rate or time interval is zero or negative.
    • RANSACRobustKnownBiasTurntableGyroscopeCalibrator

      public RANSACRobustKnownBiasTurntableGyroscopeCalibrator(com.irurueta.navigation.frames.ECEFPosition position, double turntableRotationRate, double timeInterval, List<StandardDeviationBodyKinematics> measurements, double[] bias, com.irurueta.algebra.Matrix initialMg, com.irurueta.algebra.Matrix initialGg)
      Constructor.
      Parameters:
      position - position where body kinematics measures have been taken.
      turntableRotationRate - constant rotation rate at which the turntable is spinning. Must be expressed in radians per second (rad/s).
      timeInterval - time interval between measurements being captured expressed in seconds (s).
      measurements - collection of body kinematics measurements with standard deviations taken at the same position with zero velocity and unknown different orientations.
      bias - known gyroscope bias. This must have length 3 and is expressed in radians per second (rad/s).
      initialMg - initial gyroscope scale factors and cross coupling errors matrix. Must be 3x3.
      initialGg - initial gyroscope G-dependent cross biases introduced on the gyroscope by the specific forces sensed by the accelerometer. Must be 3x3.
      Throws:
      IllegalArgumentException - if any of the provided values does not have proper size or if either turntable rotation rate or time interval is zero or negative.
    • RANSACRobustKnownBiasTurntableGyroscopeCalibrator

      public RANSACRobustKnownBiasTurntableGyroscopeCalibrator(com.irurueta.navigation.frames.ECEFPosition position, double turntableRotationRate, double timeInterval, List<StandardDeviationBodyKinematics> measurements, double[] bias, com.irurueta.algebra.Matrix initialMg, com.irurueta.algebra.Matrix initialGg, RobustKnownBiasTurntableGyroscopeCalibratorListener listener)
      Constructor.
      Parameters:
      position - position where body kinematics measures have been taken.
      turntableRotationRate - constant rotation rate at which the turntable is spinning. Must be expressed in radians per second (rad/s).
      timeInterval - time interval between measurements being captured expressed in seconds (s).
      measurements - collection of body kinematics measurements with standard deviations taken at the same position with zero velocity and unknown different orientations.
      bias - known gyroscope bias. This must have length 3 and is expressed in radians per second (rad/s).
      initialMg - initial gyroscope scale factors and cross coupling errors matrix. Must be 3x3.
      initialGg - initial gyroscope G-dependent cross biases introduced on the gyroscope by the specific forces sensed by the accelerometer. Must be 3x3.
      listener - listener to handle events raised by this calibrator.
      Throws:
      IllegalArgumentException - if any of the provided values does not have proper size or if either turntable rotation rate or time interval is zero or negative.
    • RANSACRobustKnownBiasTurntableGyroscopeCalibrator

      public RANSACRobustKnownBiasTurntableGyroscopeCalibrator(com.irurueta.navigation.frames.ECEFPosition position, double turntableRotationRate, double timeInterval, List<StandardDeviationBodyKinematics> measurements, double[] bias, com.irurueta.algebra.Matrix initialMg, com.irurueta.algebra.Matrix initialGg, double[] accelerometerBias, com.irurueta.algebra.Matrix accelerometerMa)
      Constructor.
      Parameters:
      position - position where body kinematics measures have been taken.
      turntableRotationRate - constant rotation rate at which the turntable is spinning. Must be expressed in radians per second (rad/s).
      timeInterval - time interval between measurements being captured expressed in seconds (s).
      measurements - collection of body kinematics measurements with standard deviations taken at the same position with zero velocity and unknown different orientations.
      bias - known gyroscope bias. This must have length 3 and is expressed in radians per second (rad/s).
      initialMg - initial gyroscope scale factors and cross coupling errors matrix. Must be 3x3.
      initialGg - initial gyroscope G-dependent cross biases introduced on the gyroscope by the specific forces sensed by the accelerometer. Must be 3x3.
      accelerometerBias - known accelerometer bias. This must have length 3 and is expressed in meters per squared second (m/s^2).
      accelerometerMa - known accelerometer scale factors and cross coupling matrix. Must be 3x3.
      Throws:
      IllegalArgumentException - if any of the provided values does not have proper size or if either turntable rotation rate or time interval is zero or negative.
    • RANSACRobustKnownBiasTurntableGyroscopeCalibrator

      public RANSACRobustKnownBiasTurntableGyroscopeCalibrator(com.irurueta.navigation.frames.ECEFPosition position, double turntableRotationRate, double timeInterval, List<StandardDeviationBodyKinematics> measurements, double[] bias, com.irurueta.algebra.Matrix initialMg, com.irurueta.algebra.Matrix initialGg, double[] accelerometerBias, com.irurueta.algebra.Matrix accelerometerMa, RobustKnownBiasTurntableGyroscopeCalibratorListener listener)
      Constructor.
      Parameters:
      position - position where body kinematics measures have been taken.
      turntableRotationRate - constant rotation rate at which the turntable is spinning. Must be expressed in radians per second (rad/s).
      timeInterval - time interval between measurements being captured expressed in seconds (s).
      measurements - collection of body kinematics measurements with standard deviations taken at the same position with zero velocity and unknown different orientations.
      bias - known gyroscope bias. This must have length 3 and is expressed in radians per second (rad/s).
      initialMg - initial gyroscope scale factors and cross coupling errors matrix. Must be 3x3.
      initialGg - initial gyroscope G-dependent cross biases introduced on the gyroscope by the specific forces sensed by the accelerometer. Must be 3x3.
      accelerometerBias - known accelerometer bias. This must have length 3 and is expressed in meters per squared second (m/s^2).
      accelerometerMa - known accelerometer scale factors and cross coupling matrix. Must be 3x3.
      listener - listener to handle events raised by this calibrator.
      Throws:
      IllegalArgumentException - if any of the provided values does not have proper size or if either turntable rotation rate or time interval is zero or negative.
    • RANSACRobustKnownBiasTurntableGyroscopeCalibrator

      public RANSACRobustKnownBiasTurntableGyroscopeCalibrator(com.irurueta.navigation.frames.ECEFPosition position, double turntableRotationRate, double timeInterval, List<StandardDeviationBodyKinematics> measurements, com.irurueta.algebra.Matrix bias, com.irurueta.algebra.Matrix initialMg, com.irurueta.algebra.Matrix initialGg, com.irurueta.algebra.Matrix accelerometerBias, com.irurueta.algebra.Matrix accelerometerMa)
      Constructor.
      Parameters:
      position - position where body kinematics measures have been taken.
      turntableRotationRate - constant rotation rate at which the turntable is spinning. Must be expressed in radians per second (rad/s).
      timeInterval - time interval between measurements being captured expressed in seconds (s).
      measurements - collection of body kinematics measurements with standard deviations taken at the same position with zero velocity and unknown different orientations.
      bias - known gyroscope bias. This must be 3x1 and is expressed in radians per second (rad/s).
      initialMg - initial gyroscope scale factors and cross coupling errors matrix. Must be 3x3.
      initialGg - initial gyroscope G-dependent cross biases introduced on the gyroscope by the specific forces sensed by the accelerometer. Must be 3x3.
      accelerometerBias - known accelerometer bias. This must have length 3 and is expressed in meters per squared second (m/s^2).
      accelerometerMa - known accelerometer scale factors and cross coupling matrix. Must be 3x3.
      Throws:
      IllegalArgumentException - if any of the provided values does not have proper size or if either turntable rotation rate or time interval is zero or negative.
    • RANSACRobustKnownBiasTurntableGyroscopeCalibrator

      public RANSACRobustKnownBiasTurntableGyroscopeCalibrator(com.irurueta.navigation.frames.ECEFPosition position, double turntableRotationRate, double timeInterval, List<StandardDeviationBodyKinematics> measurements, com.irurueta.algebra.Matrix bias, com.irurueta.algebra.Matrix initialMg, com.irurueta.algebra.Matrix initialGg, com.irurueta.algebra.Matrix accelerometerBias, com.irurueta.algebra.Matrix accelerometerMa, RobustKnownBiasTurntableGyroscopeCalibratorListener listener)
      Constructor.
      Parameters:
      position - position where body kinematics measures have been taken.
      turntableRotationRate - constant rotation rate at which the turntable is spinning. Must be expressed in radians per second (rad/s).
      timeInterval - time interval between measurements being captured expressed in seconds (s).
      measurements - collection of body kinematics measurements with standard deviations taken at the same position with zero velocity and unknown different orientations.
      bias - known gyroscope bias. This must be 3x1 and is expressed in radians per second (rad/s).
      initialMg - initial gyroscope scale factors and cross coupling errors matrix. Must be 3x3.
      initialGg - initial gyroscope G-dependent cross biases introduced on the gyroscope by the specific forces sensed by the accelerometer. Must be 3x3.
      accelerometerBias - known accelerometer bias. This must have length 3 and is expressed in meters per squared second (m/s^2).
      accelerometerMa - known accelerometer scale factors and cross coupling matrix. Must be 3x3.
      listener - listener to handle events raised by this calibrator.
      Throws:
      IllegalArgumentException - if any of the provided values does not have proper size or if either turntable rotation rate or time interval is zero or negative.
    • RANSACRobustKnownBiasTurntableGyroscopeCalibrator

      public RANSACRobustKnownBiasTurntableGyroscopeCalibrator(com.irurueta.navigation.frames.ECEFPosition position, double turntableRotationRate, double timeInterval, List<StandardDeviationBodyKinematics> measurements, boolean commonAxisUsed, boolean estimateGDependentCrossBiases, com.irurueta.algebra.Matrix bias, com.irurueta.algebra.Matrix initialMg, com.irurueta.algebra.Matrix initialGg)
      Constructor.
      Parameters:
      position - position where body kinematics measures have been taken.
      turntableRotationRate - constant rotation rate at which the turntable is spinning. Must be expressed in radians per second (rad/s).
      timeInterval - time interval between measurements being captured expressed in seconds (s).
      measurements - collection of body kinematics measurements with standard deviations taken at the same position with zero velocity and unknown different orientations.
      commonAxisUsed - indicates whether z-axis is assumed to be common for accelerometer and gyroscope.
      estimateGDependentCrossBiases - true if G-dependent cross biases will be estimated, false otherwise.
      bias - known gyroscope bias. This must be 3x1 and is expressed in radians per second (rad/s).
      initialMg - initial gyroscope scale factors and cross coupling errors matrix. Must be 3x3.
      initialGg - initial gyroscope G-dependent cross biases introduced on the gyroscope by the specific forces sensed by the accelerometer. Must be 3x3.
      Throws:
      IllegalArgumentException - if any of the provided values does not have proper size or if either turntable rotation rate or time interval is zero or negative.
    • RANSACRobustKnownBiasTurntableGyroscopeCalibrator

      public RANSACRobustKnownBiasTurntableGyroscopeCalibrator(com.irurueta.navigation.frames.ECEFPosition position, double turntableRotationRate, double timeInterval, List<StandardDeviationBodyKinematics> measurements, boolean commonAxisUsed, boolean estimateGDependentCrossBiases, com.irurueta.algebra.Matrix bias, com.irurueta.algebra.Matrix initialMg, com.irurueta.algebra.Matrix initialGg, RobustKnownBiasTurntableGyroscopeCalibratorListener listener)
      Constructor.
      Parameters:
      position - position where body kinematics measures have been taken.
      turntableRotationRate - constant rotation rate at which the turntable is spinning. Must be expressed in radians per second (rad/s).
      timeInterval - time interval between measurements being captured expressed in seconds (s).
      measurements - collection of body kinematics measurements with standard deviations taken at the same position with zero velocity and unknown different orientations.
      commonAxisUsed - indicates whether z-axis is assumed to be common for accelerometer and gyroscope.
      estimateGDependentCrossBiases - true if G-dependent cross biases will be estimated, false otherwise.
      bias - known gyroscope bias. This must be 3x1 and is expressed in radians per second (rad/s).
      initialMg - initial gyroscope scale factors and cross coupling errors matrix. Must be 3x3.
      initialGg - initial gyroscope G-dependent cross biases introduced on the gyroscope by the specific forces sensed by the accelerometer. Must be 3x3.
      listener - listener to handle events raised by this calibrator.
      Throws:
      IllegalArgumentException - if any of the provided values does not have proper size or if either turntable rotation rate or time interval is zero or negative.
    • RANSACRobustKnownBiasTurntableGyroscopeCalibrator

      public RANSACRobustKnownBiasTurntableGyroscopeCalibrator(com.irurueta.navigation.frames.ECEFPosition position, double turntableRotationRate, double timeInterval, List<StandardDeviationBodyKinematics> measurements, boolean commonAxisUsed, boolean estimateGDependentCrossBiases, double[] bias, com.irurueta.algebra.Matrix initialMg, com.irurueta.algebra.Matrix initialGg)
      Constructor.
      Parameters:
      position - position where body kinematics measures have been taken.
      turntableRotationRate - constant rotation rate at which the turntable is spinning. Must be expressed in radians per second (rad/s).
      timeInterval - time interval between measurements being captured expressed in seconds (s).
      measurements - collection of body kinematics measurements with standard deviations taken at the same position with zero velocity and unknown different orientations.
      commonAxisUsed - indicates whether z-axis is assumed to be common for accelerometer and gyroscope.
      estimateGDependentCrossBiases - true if G-dependent cross biases will be estimated, false otherwise.
      bias - known gyroscope bias. This must have length 3 and is expressed in radians per second (rad/s).
      initialMg - initial gyroscope scale factors and cross coupling errors matrix. Must be 3x3.
      initialGg - initial gyroscope G-dependent cross biases introduced on the gyroscope by the specific forces sensed by the accelerometer. Must be 3x3.
      Throws:
      IllegalArgumentException - if any of the provided values does not have proper size or if either turntable rotation rate or time interval is zero or negative.
    • RANSACRobustKnownBiasTurntableGyroscopeCalibrator

      public RANSACRobustKnownBiasTurntableGyroscopeCalibrator(com.irurueta.navigation.frames.ECEFPosition position, double turntableRotationRate, double timeInterval, List<StandardDeviationBodyKinematics> measurements, boolean commonAxisUsed, boolean estimateGDependentCrossBiases, double[] bias, com.irurueta.algebra.Matrix initialMg, com.irurueta.algebra.Matrix initialGg, RobustKnownBiasTurntableGyroscopeCalibratorListener listener)
      Constructor.
      Parameters:
      position - position where body kinematics measures have been taken.
      turntableRotationRate - constant rotation rate at which the turntable is spinning. Must be expressed in radians per second (rad/s).
      timeInterval - time interval between measurements being captured expressed in seconds (s).
      measurements - collection of body kinematics measurements with standard deviations taken at the same position with zero velocity and unknown different orientations.
      commonAxisUsed - indicates whether z-axis is assumed to be common for accelerometer and gyroscope.
      estimateGDependentCrossBiases - true if G-dependent cross biases will be estimated, false otherwise.
      bias - known gyroscope bias. This must have length 3 and is expressed in radians per second (rad/s).
      initialMg - initial gyroscope scale factors and cross coupling errors matrix. Must be 3x3.
      initialGg - initial gyroscope G-dependent cross biases introduced on the gyroscope by the specific forces sensed by the accelerometer. Must be 3x3.
      listener - listener to handle events raised by this calibrator.
      Throws:
      IllegalArgumentException - if any of the provided values does not have proper size or if either turntable rotation rate or time interval is zero or negative.
    • RANSACRobustKnownBiasTurntableGyroscopeCalibrator

      public RANSACRobustKnownBiasTurntableGyroscopeCalibrator(com.irurueta.navigation.frames.ECEFPosition position, double turntableRotationRate, double timeInterval, List<StandardDeviationBodyKinematics> measurements, boolean commonAxisUsed, boolean estimateGDependentCrossBiases, double[] bias, com.irurueta.algebra.Matrix initialMg, com.irurueta.algebra.Matrix initialGg, double[] accelerometerBias, com.irurueta.algebra.Matrix accelerometerMa)
      Constructor.
      Parameters:
      position - position where body kinematics measures have been taken.
      turntableRotationRate - constant rotation rate at which the turntable is spinning. Must be expressed in radians per second (rad/s).
      timeInterval - time interval between measurements being captured expressed in seconds (s).
      measurements - collection of body kinematics measurements with standard deviations taken at the same position with zero velocity and unknown different orientations.
      commonAxisUsed - indicates whether z-axis is assumed to be common for accelerometer and gyroscope.
      estimateGDependentCrossBiases - true if G-dependent cross biases will be estimated, false otherwise.
      bias - known gyroscope bias. This must have length 3 and is expressed in radians per second (rad/s).
      initialMg - initial gyroscope scale factors and cross coupling errors matrix. Must be 3x3.
      initialGg - initial gyroscope G-dependent cross biases introduced on the gyroscope by the specific forces sensed by the accelerometer. Must be 3x3.
      accelerometerBias - known accelerometer bias. This must have length 3 and is expressed in meters per squared second (m/s^2).
      accelerometerMa - known accelerometer scale factors and cross coupling matrix. Must be 3x3.
      Throws:
      IllegalArgumentException - if any of the provided values does not have proper size or if either turntable rotation rate or time interval is zero or negative.
    • RANSACRobustKnownBiasTurntableGyroscopeCalibrator

      public RANSACRobustKnownBiasTurntableGyroscopeCalibrator(com.irurueta.navigation.frames.ECEFPosition position, double turntableRotationRate, double timeInterval, List<StandardDeviationBodyKinematics> measurements, boolean commonAxisUsed, boolean estimateGDependentCrossBiases, double[] bias, com.irurueta.algebra.Matrix initialMg, com.irurueta.algebra.Matrix initialGg, double[] accelerometerBias, com.irurueta.algebra.Matrix accelerometerMa, RobustKnownBiasTurntableGyroscopeCalibratorListener listener)
      Constructor.
      Parameters:
      position - position where body kinematics measures have been taken.
      turntableRotationRate - constant rotation rate at which the turntable is spinning. Must be expressed in radians per second (rad/s).
      timeInterval - time interval between measurements being captured expressed in seconds (s).
      measurements - collection of body kinematics measurements with standard deviations taken at the same position with zero velocity and unknown different orientations.
      commonAxisUsed - indicates whether z-axis is assumed to be common for accelerometer and gyroscope.
      estimateGDependentCrossBiases - true if G-dependent cross biases will be estimated, false otherwise.
      bias - known gyroscope bias. This must have length 3 and is expressed in radians per second (rad/s).
      initialMg - initial gyroscope scale factors and cross coupling errors matrix. Must be 3x3.
      initialGg - initial gyroscope G-dependent cross biases introduced on the gyroscope by the specific forces sensed by the accelerometer. Must be 3x3.
      accelerometerBias - known accelerometer bias. This must have length 3 and is expressed in meters per squared second (m/s^2).
      accelerometerMa - known accelerometer scale factors and cross coupling matrix. Must be 3x3.
      listener - listener to handle events raised by this calibrator.
      Throws:
      IllegalArgumentException - if any of the provided values does not have proper size or if either turntable rotation rate or time interval is zero or negative.
    • RANSACRobustKnownBiasTurntableGyroscopeCalibrator

      public RANSACRobustKnownBiasTurntableGyroscopeCalibrator(com.irurueta.navigation.frames.ECEFPosition position, double turntableRotationRate, double timeInterval, List<StandardDeviationBodyKinematics> measurements, boolean commonAxisUsed, boolean estimateGDependentCrossBiases, com.irurueta.algebra.Matrix bias, com.irurueta.algebra.Matrix initialMg, com.irurueta.algebra.Matrix initialGg, com.irurueta.algebra.Matrix accelerometerBias, com.irurueta.algebra.Matrix accelerometerMa)
      Constructor.
      Parameters:
      position - position where body kinematics measures have been taken.
      turntableRotationRate - constant rotation rate at which the turntable is spinning. Must be expressed in radians per second (rad/s).
      timeInterval - time interval between measurements being captured expressed in seconds (s).
      measurements - collection of body kinematics measurements with standard deviations taken at the same position with zero velocity and unknown different orientations.
      commonAxisUsed - indicates whether z-axis is assumed to be common for accelerometer and gyroscope.
      estimateGDependentCrossBiases - true if G-dependent cross biases will be estimated, false otherwise.
      bias - known gyroscope bias. This must be 3x1 and is expressed in radians per second (rad/s).
      initialMg - initial gyroscope scale factors and cross coupling errors matrix. Must be 3x3.
      initialGg - initial gyroscope G-dependent cross biases introduced on the gyroscope by the specific forces sensed by the accelerometer. Must be 3x3.
      accelerometerBias - known accelerometer bias. This must have length 3 and is expressed in meters per squared second (m/s^2).
      accelerometerMa - known accelerometer scale factors and cross coupling matrix. Must be 3x3.
      Throws:
      IllegalArgumentException - if any of the provided values does not have proper size or if either turntable rotation rate or time interval is zero or negative.
    • RANSACRobustKnownBiasTurntableGyroscopeCalibrator

      public RANSACRobustKnownBiasTurntableGyroscopeCalibrator(com.irurueta.navigation.frames.ECEFPosition position, double turntableRotationRate, double timeInterval, List<StandardDeviationBodyKinematics> measurements, boolean commonAxisUsed, boolean estimateGDependentCrossBiases, com.irurueta.algebra.Matrix bias, com.irurueta.algebra.Matrix initialMg, com.irurueta.algebra.Matrix initialGg, com.irurueta.algebra.Matrix accelerometerBias, com.irurueta.algebra.Matrix accelerometerMa, RobustKnownBiasTurntableGyroscopeCalibratorListener listener)
      Constructor.
      Parameters:
      position - position where body kinematics measures have been taken.
      turntableRotationRate - constant rotation rate at which the turntable is spinning. Must be expressed in radians per second (rad/s).
      timeInterval - time interval between measurements being captured expressed in seconds (s).
      measurements - collection of body kinematics measurements with standard deviations taken at the same position with zero velocity and unknown different orientations.
      commonAxisUsed - indicates whether z-axis is assumed to be common for accelerometer and gyroscope.
      estimateGDependentCrossBiases - true if G-dependent cross biases will be estimated, false otherwise.
      bias - known gyroscope bias. This must be 3x1 and is expressed in radians per second (rad/s).
      initialMg - initial gyroscope scale factors and cross coupling errors matrix. Must be 3x3.
      initialGg - initial gyroscope G-dependent cross biases introduced on the gyroscope by the specific forces sensed by the accelerometer. Must be 3x3.
      accelerometerBias - known accelerometer bias. This must have length 3 and is expressed in meters per squared second (m/s^2).
      accelerometerMa - known accelerometer scale factors and cross coupling matrix. Must be 3x3.
      listener - listener to handle events raised by this calibrator.
      Throws:
      IllegalArgumentException - if any of the provided values does not have proper size or if either turntable rotation rate or time interval is zero or negative.
    • RANSACRobustKnownBiasTurntableGyroscopeCalibrator

      public RANSACRobustKnownBiasTurntableGyroscopeCalibrator(com.irurueta.navigation.frames.NEDPosition position, double turntableRotationRate, double timeInterval, List<StandardDeviationBodyKinematics> measurements, com.irurueta.algebra.Matrix bias, com.irurueta.algebra.Matrix initialMg, com.irurueta.algebra.Matrix initialGg)
      Constructor.
      Parameters:
      position - position where body kinematics measures have been taken.
      turntableRotationRate - constant rotation rate at which the turntable is spinning. Must be expressed in radians per second (rad/s).
      timeInterval - time interval between measurements being captured expressed in seconds (s).
      measurements - collection of body kinematics measurements with standard deviations taken at the same position with zero velocity and unknown different orientations.
      bias - known gyroscope bias. This must be 3x1 and is expressed in radians per second (rad/s).
      initialMg - initial gyroscope scale factors and cross coupling errors matrix. Must be 3x3.
      initialGg - initial gyroscope G-dependent cross biases introduced on the gyroscope by the specific forces sensed by the accelerometer. Must be 3x3.
      Throws:
      IllegalArgumentException - if any of the provided values does not have proper size or if either turntable rotation rate or time interval is zero or negative.
    • RANSACRobustKnownBiasTurntableGyroscopeCalibrator

      public RANSACRobustKnownBiasTurntableGyroscopeCalibrator(com.irurueta.navigation.frames.NEDPosition position, double turntableRotationRate, double timeInterval, List<StandardDeviationBodyKinematics> measurements, com.irurueta.algebra.Matrix bias, com.irurueta.algebra.Matrix initialMg, com.irurueta.algebra.Matrix initialGg, RobustKnownBiasTurntableGyroscopeCalibratorListener listener)
      Constructor.
      Parameters:
      position - position where body kinematics measures have been taken.
      turntableRotationRate - constant rotation rate at which the turntable is spinning. Must be expressed in radians per second (rad/s).
      timeInterval - time interval between measurements being captured expressed in seconds (s).
      measurements - collection of body kinematics measurements with standard deviations taken at the same position with zero velocity and unknown different orientations.
      bias - known gyroscope bias. This must be 3x1 and is expressed in radians per second (rad/s).
      initialMg - initial gyroscope scale factors and cross coupling errors matrix. Must be 3x3.
      initialGg - initial gyroscope G-dependent cross biases introduced on the gyroscope by the specific forces sensed by the accelerometer. Must be 3x3.
      listener - listener to handle events raised by this calibrator.
      Throws:
      IllegalArgumentException - if any of the provided values does not have proper size or if either turntable rotation rate or time interval is zero or negative.
    • RANSACRobustKnownBiasTurntableGyroscopeCalibrator

      public RANSACRobustKnownBiasTurntableGyroscopeCalibrator(com.irurueta.navigation.frames.NEDPosition position, double turntableRotationRate, double timeInterval, List<StandardDeviationBodyKinematics> measurements, double[] bias, com.irurueta.algebra.Matrix initialMg, com.irurueta.algebra.Matrix initialGg)
      Constructor.
      Parameters:
      position - position where body kinematics measures have been taken.
      turntableRotationRate - constant rotation rate at which the turntable is spinning. Must be expressed in radians per second (rad/s).
      timeInterval - time interval between measurements being captured expressed in seconds (s).
      measurements - collection of body kinematics measurements with standard deviations taken at the same position with zero velocity and unknown different orientations.
      bias - known gyroscope bias. This must have length 3 and is expressed in radians per second (rad/s).
      initialMg - initial gyroscope scale factors and cross coupling errors matrix. Must be 3x3.
      initialGg - initial gyroscope G-dependent cross biases introduced on the gyroscope by the specific forces sensed by the accelerometer. Must be 3x3.
      Throws:
      IllegalArgumentException - if any of the provided values does not have proper size or if either turntable rotation rate or time interval is zero or negative.
    • RANSACRobustKnownBiasTurntableGyroscopeCalibrator

      public RANSACRobustKnownBiasTurntableGyroscopeCalibrator(com.irurueta.navigation.frames.NEDPosition position, double turntableRotationRate, double timeInterval, List<StandardDeviationBodyKinematics> measurements, double[] bias, com.irurueta.algebra.Matrix initialMg, com.irurueta.algebra.Matrix initialGg, RobustKnownBiasTurntableGyroscopeCalibratorListener listener)
      Constructor.
      Parameters:
      position - position where body kinematics measures have been taken.
      turntableRotationRate - constant rotation rate at which the turntable is spinning. Must be expressed in radians per second (rad/s).
      timeInterval - time interval between measurements being captured expressed in seconds (s).
      measurements - collection of body kinematics measurements with standard deviations taken at the same position with zero velocity and unknown different orientations.
      bias - known gyroscope bias. This must have length 3 and is expressed in radians per second (rad/s).
      initialMg - initial gyroscope scale factors and cross coupling errors matrix. Must be 3x3.
      initialGg - initial gyroscope G-dependent cross biases introduced on the gyroscope by the specific forces sensed by the accelerometer. Must be 3x3.
      listener - listener to handle events raised by this calibrator.
      Throws:
      IllegalArgumentException - if any of the provided values does not have proper size or if either turntable rotation rate or time interval is zero or negative.
    • RANSACRobustKnownBiasTurntableGyroscopeCalibrator

      public RANSACRobustKnownBiasTurntableGyroscopeCalibrator(com.irurueta.navigation.frames.NEDPosition position, double turntableRotationRate, double timeInterval, List<StandardDeviationBodyKinematics> measurements, double[] bias, com.irurueta.algebra.Matrix initialMg, com.irurueta.algebra.Matrix initialGg, double[] accelerometerBias, com.irurueta.algebra.Matrix accelerometerMa)
      Constructor.
      Parameters:
      position - position where body kinematics measures have been taken.
      turntableRotationRate - constant rotation rate at which the turntable is spinning. Must be expressed in radians per second (rad/s).
      timeInterval - time interval between measurements being captured expressed in seconds (s).
      measurements - collection of body kinematics measurements with standard deviations taken at the same position with zero velocity and unknown different orientations.
      bias - known gyroscope bias. This must have length 3 and is expressed in radians per second (rad/s).
      initialMg - initial gyroscope scale factors and cross coupling errors matrix. Must be 3x3.
      initialGg - initial gyroscope G-dependent cross biases introduced on the gyroscope by the specific forces sensed by the accelerometer. Must be 3x3.
      accelerometerBias - known accelerometer bias. This must have length 3 and is expressed in meters per squared second (m/s^2).
      accelerometerMa - known accelerometer scale factors and cross coupling matrix. Must be 3x3.
      Throws:
      IllegalArgumentException - if any of the provided values does not have proper size or if either turntable rotation rate or time interval is zero or negative.
    • RANSACRobustKnownBiasTurntableGyroscopeCalibrator

      public RANSACRobustKnownBiasTurntableGyroscopeCalibrator(com.irurueta.navigation.frames.NEDPosition position, double turntableRotationRate, double timeInterval, List<StandardDeviationBodyKinematics> measurements, double[] bias, com.irurueta.algebra.Matrix initialMg, com.irurueta.algebra.Matrix initialGg, double[] accelerometerBias, com.irurueta.algebra.Matrix accelerometerMa, RobustKnownBiasTurntableGyroscopeCalibratorListener listener)
      Constructor.
      Parameters:
      position - position where body kinematics measures have been taken.
      turntableRotationRate - constant rotation rate at which the turntable is spinning. Must be expressed in radians per second (rad/s).
      timeInterval - time interval between measurements being captured expressed in seconds (s).
      measurements - collection of body kinematics measurements with standard deviations taken at the same position with zero velocity and unknown different orientations.
      bias - known gyroscope bias. This must have length 3 and is expressed in radians per second (rad/s).
      initialMg - initial gyroscope scale factors and cross coupling errors matrix. Must be 3x3.
      initialGg - initial gyroscope G-dependent cross biases introduced on the gyroscope by the specific forces sensed by the accelerometer. Must be 3x3.
      accelerometerBias - known accelerometer bias. This must have length 3 and is expressed in meters per squared second (m/s^2).
      accelerometerMa - known accelerometer scale factors and cross coupling matrix. Must be 3x3.
      listener - listener to handle events raised by this calibrator.
      Throws:
      IllegalArgumentException - if any of the provided values does not have proper size or if either turntable rotation rate or time interval is zero or negative.
    • RANSACRobustKnownBiasTurntableGyroscopeCalibrator

      public RANSACRobustKnownBiasTurntableGyroscopeCalibrator(com.irurueta.navigation.frames.NEDPosition position, double turntableRotationRate, double timeInterval, List<StandardDeviationBodyKinematics> measurements, com.irurueta.algebra.Matrix bias, com.irurueta.algebra.Matrix initialMg, com.irurueta.algebra.Matrix initialGg, com.irurueta.algebra.Matrix accelerometerBias, com.irurueta.algebra.Matrix accelerometerMa)
      Constructor.
      Parameters:
      position - position where body kinematics measures have been taken.
      turntableRotationRate - constant rotation rate at which the turntable is spinning. Must be expressed in radians per second (rad/s).
      timeInterval - time interval between measurements being captured expressed in seconds (s).
      measurements - collection of body kinematics measurements with standard deviations taken at the same position with zero velocity and unknown different orientations.
      bias - known gyroscope bias. This must be 3x1 and is expressed in radians per second (rad/s).
      initialMg - initial gyroscope scale factors and cross coupling errors matrix. Must be 3x3.
      initialGg - initial gyroscope G-dependent cross biases introduced on the gyroscope by the specific forces sensed by the accelerometer. Must be 3x3.
      accelerometerBias - known accelerometer bias. This must have length 3 and is expressed in meters per squared second (m/s^2).
      accelerometerMa - known accelerometer scale factors and cross coupling matrix. Must be 3x3.
      Throws:
      IllegalArgumentException - if any of the provided values does not have proper size or if either turntable rotation rate or time interval is zero or negative.
    • RANSACRobustKnownBiasTurntableGyroscopeCalibrator

      public RANSACRobustKnownBiasTurntableGyroscopeCalibrator(com.irurueta.navigation.frames.NEDPosition position, double turntableRotationRate, double timeInterval, List<StandardDeviationBodyKinematics> measurements, com.irurueta.algebra.Matrix bias, com.irurueta.algebra.Matrix initialMg, com.irurueta.algebra.Matrix initialGg, com.irurueta.algebra.Matrix accelerometerBias, com.irurueta.algebra.Matrix accelerometerMa, RobustKnownBiasTurntableGyroscopeCalibratorListener listener)
      Constructor.
      Parameters:
      position - position where body kinematics measures have been taken.
      turntableRotationRate - constant rotation rate at which the turntable is spinning. Must be expressed in radians per second (rad/s).
      timeInterval - time interval between measurements being captured expressed in seconds (s).
      measurements - collection of body kinematics measurements with standard deviations taken at the same position with zero velocity and unknown different orientations.
      bias - known gyroscope bias. This must be 3x1 and is expressed in radians per second (rad/s).
      initialMg - initial gyroscope scale factors and cross coupling errors matrix. Must be 3x3.
      initialGg - initial gyroscope G-dependent cross biases introduced on the gyroscope by the specific forces sensed by the accelerometer. Must be 3x3.
      accelerometerBias - known accelerometer bias. This must have length 3 and is expressed in meters per squared second (m/s^2).
      accelerometerMa - known accelerometer scale factors and cross coupling matrix. Must be 3x3.
      listener - listener to handle events raised by this calibrator.
      Throws:
      IllegalArgumentException - if any of the provided values does not have proper size or if either turntable rotation rate or time interval is zero or negative.
    • RANSACRobustKnownBiasTurntableGyroscopeCalibrator

      public RANSACRobustKnownBiasTurntableGyroscopeCalibrator(com.irurueta.navigation.frames.NEDPosition position, double turntableRotationRate, double timeInterval, List<StandardDeviationBodyKinematics> measurements, boolean commonAxisUsed, boolean estimateGDependentCrossBiases, com.irurueta.algebra.Matrix bias, com.irurueta.algebra.Matrix initialMg, com.irurueta.algebra.Matrix initialGg)
      Constructor.
      Parameters:
      position - position where body kinematics measures have been taken.
      turntableRotationRate - constant rotation rate at which the turntable is spinning. Must be expressed in radians per second (rad/s).
      timeInterval - time interval between measurements being captured expressed in seconds (s).
      measurements - collection of body kinematics measurements with standard deviations taken at the same position with zero velocity and unknown different orientations.
      commonAxisUsed - indicates whether z-axis is assumed to be common for accelerometer and gyroscope.
      estimateGDependentCrossBiases - true if G-dependent cross biases will be estimated, false otherwise.
      bias - known gyroscope bias. This must be 3x1 and is expressed in radians per second (rad/s).
      initialMg - initial gyroscope scale factors and cross coupling errors matrix. Must be 3x3.
      initialGg - initial gyroscope G-dependent cross biases introduced on the gyroscope by the specific forces sensed by the accelerometer. Must be 3x3.
      Throws:
      IllegalArgumentException - if any of the provided values does not have proper size or if either turntable rotation rate or time interval is zero or negative.
    • RANSACRobustKnownBiasTurntableGyroscopeCalibrator

      public RANSACRobustKnownBiasTurntableGyroscopeCalibrator(com.irurueta.navigation.frames.NEDPosition position, double turntableRotationRate, double timeInterval, List<StandardDeviationBodyKinematics> measurements, boolean commonAxisUsed, boolean estimateGDependentCrossBiases, com.irurueta.algebra.Matrix bias, com.irurueta.algebra.Matrix initialMg, com.irurueta.algebra.Matrix initialGg, RobustKnownBiasTurntableGyroscopeCalibratorListener listener)
      Constructor.
      Parameters:
      position - position where body kinematics measures have been taken.
      turntableRotationRate - constant rotation rate at which the turntable is spinning. Must be expressed in radians per second (rad/s).
      timeInterval - time interval between measurements being captured expressed in seconds (s).
      measurements - collection of body kinematics measurements with standard deviations taken at the same position with zero velocity and unknown different orientations.
      commonAxisUsed - indicates whether z-axis is assumed to be common for accelerometer and gyroscope.
      estimateGDependentCrossBiases - true if G-dependent cross biases will be estimated, false otherwise.
      bias - known gyroscope bias. This must be 3x1 and is expressed in radians per second (rad/s).
      initialMg - initial gyroscope scale factors and cross coupling errors matrix. Must be 3x3.
      initialGg - initial gyroscope G-dependent cross biases introduced on the gyroscope by the specific forces sensed by the accelerometer. Must be 3x3.
      listener - listener to handle events raised by this calibrator.
      Throws:
      IllegalArgumentException - if any of the provided values does not have proper size or if either turntable rotation rate or time interval is zero or negative.
    • RANSACRobustKnownBiasTurntableGyroscopeCalibrator

      public RANSACRobustKnownBiasTurntableGyroscopeCalibrator(com.irurueta.navigation.frames.NEDPosition position, double turntableRotationRate, double timeInterval, List<StandardDeviationBodyKinematics> measurements, boolean commonAxisUsed, boolean estimateGDependentCrossBiases, double[] bias, com.irurueta.algebra.Matrix initialMg, com.irurueta.algebra.Matrix initialGg)
      Constructor.
      Parameters:
      position - position where body kinematics measures have been taken.
      turntableRotationRate - constant rotation rate at which the turntable is spinning. Must be expressed in radians per second (rad/s).
      timeInterval - time interval between measurements being captured expressed in seconds (s).
      measurements - collection of body kinematics measurements with standard deviations taken at the same position with zero velocity and unknown different orientations.
      commonAxisUsed - indicates whether z-axis is assumed to be common for accelerometer and gyroscope.
      estimateGDependentCrossBiases - true if G-dependent cross biases will be estimated, false otherwise.
      bias - known gyroscope bias. This must have length 3 and is expressed in radians per second (rad/s).
      initialMg - initial gyroscope scale factors and cross coupling errors matrix. Must be 3x3.
      initialGg - initial gyroscope G-dependent cross biases introduced on the gyroscope by the specific forces sensed by the accelerometer. Must be 3x3.
      Throws:
      IllegalArgumentException - if any of the provided values does not have proper size or if either turntable rotation rate or time interval is zero or negative.
    • RANSACRobustKnownBiasTurntableGyroscopeCalibrator

      public RANSACRobustKnownBiasTurntableGyroscopeCalibrator(com.irurueta.navigation.frames.NEDPosition position, double turntableRotationRate, double timeInterval, List<StandardDeviationBodyKinematics> measurements, boolean commonAxisUsed, boolean estimateGDependentCrossBiases, double[] bias, com.irurueta.algebra.Matrix initialMg, com.irurueta.algebra.Matrix initialGg, RobustKnownBiasTurntableGyroscopeCalibratorListener listener)
      Constructor.
      Parameters:
      position - position where body kinematics measures have been taken.
      turntableRotationRate - constant rotation rate at which the turntable is spinning. Must be expressed in radians per second (rad/s).
      timeInterval - time interval between measurements being captured expressed in seconds (s).
      measurements - collection of body kinematics measurements with standard deviations taken at the same position with zero velocity and unknown different orientations.
      commonAxisUsed - indicates whether z-axis is assumed to be common for accelerometer and gyroscope.
      estimateGDependentCrossBiases - true if G-dependent cross biases will be estimated, false otherwise.
      bias - known gyroscope bias. This must have length 3 and is expressed in radians per second (rad/s).
      initialMg - initial gyroscope scale factors and cross coupling errors matrix. Must be 3x3.
      initialGg - initial gyroscope G-dependent cross biases introduced on the gyroscope by the specific forces sensed by the accelerometer. Must be 3x3.
      listener - listener to handle events raised by this calibrator.
      Throws:
      IllegalArgumentException - if any of the provided values does not have proper size or if either turntable rotation rate or time interval is zero or negative.
    • RANSACRobustKnownBiasTurntableGyroscopeCalibrator

      public RANSACRobustKnownBiasTurntableGyroscopeCalibrator(com.irurueta.navigation.frames.NEDPosition position, double turntableRotationRate, double timeInterval, List<StandardDeviationBodyKinematics> measurements, boolean commonAxisUsed, boolean estimateGDependentCrossBiases, double[] bias, com.irurueta.algebra.Matrix initialMg, com.irurueta.algebra.Matrix initialGg, double[] accelerometerBias, com.irurueta.algebra.Matrix accelerometerMa)
      Constructor.
      Parameters:
      position - position where body kinematics measures have been taken.
      turntableRotationRate - constant rotation rate at which the turntable is spinning. Must be expressed in radians per second (rad/s).
      timeInterval - time interval between measurements being captured expressed in seconds (s).
      measurements - collection of body kinematics measurements with standard deviations taken at the same position with zero velocity and unknown different orientations.
      commonAxisUsed - indicates whether z-axis is assumed to be common for accelerometer and gyroscope.
      estimateGDependentCrossBiases - true if G-dependent cross biases will be estimated, false otherwise.
      bias - known gyroscope bias. This must have length 3 and is expressed in radians per second (rad/s).
      initialMg - initial gyroscope scale factors and cross coupling errors matrix. Must be 3x3.
      initialGg - initial gyroscope G-dependent cross biases introduced on the gyroscope by the specific forces sensed by the accelerometer. Must be 3x3.
      accelerometerBias - known accelerometer bias. This must have length 3 and is expressed in meters per squared second (m/s^2).
      accelerometerMa - known accelerometer scale factors and cross coupling matrix. Must be 3x3.
      Throws:
      IllegalArgumentException - if any of the provided values does not have proper size or if either turntable rotation rate or time interval is zero or negative.
    • RANSACRobustKnownBiasTurntableGyroscopeCalibrator

      public RANSACRobustKnownBiasTurntableGyroscopeCalibrator(com.irurueta.navigation.frames.NEDPosition position, double turntableRotationRate, double timeInterval, List<StandardDeviationBodyKinematics> measurements, boolean commonAxisUsed, boolean estimateGDependentCrossBiases, double[] bias, com.irurueta.algebra.Matrix initialMg, com.irurueta.algebra.Matrix initialGg, double[] accelerometerBias, com.irurueta.algebra.Matrix accelerometerMa, RobustKnownBiasTurntableGyroscopeCalibratorListener listener)
      Constructor.
      Parameters:
      position - position where body kinematics measures have been taken.
      turntableRotationRate - constant rotation rate at which the turntable is spinning. Must be expressed in radians per second (rad/s).
      timeInterval - time interval between measurements being captured expressed in seconds (s).
      measurements - collection of body kinematics measurements with standard deviations taken at the same position with zero velocity and unknown different orientations.
      commonAxisUsed - indicates whether z-axis is assumed to be common for accelerometer and gyroscope.
      estimateGDependentCrossBiases - true if G-dependent cross biases will be estimated, false otherwise.
      bias - known gyroscope bias. This must have length 3 and is expressed in radians per second (rad/s).
      initialMg - initial gyroscope scale factors and cross coupling errors matrix. Must be 3x3.
      initialGg - initial gyroscope G-dependent cross biases introduced on the gyroscope by the specific forces sensed by the accelerometer. Must be 3x3.
      accelerometerBias - known accelerometer bias. This must have length 3 and is expressed in meters per squared second (m/s^2).
      accelerometerMa - known accelerometer scale factors and cross coupling matrix. Must be 3x3.
      listener - listener to handle events raised by this calibrator.
      Throws:
      IllegalArgumentException - if any of the provided values does not have proper size or if either turntable rotation rate or time interval is zero or negative.
    • RANSACRobustKnownBiasTurntableGyroscopeCalibrator

      public RANSACRobustKnownBiasTurntableGyroscopeCalibrator(com.irurueta.navigation.frames.NEDPosition position, double turntableRotationRate, double timeInterval, List<StandardDeviationBodyKinematics> measurements, boolean commonAxisUsed, boolean estimateGDependentCrossBiases, com.irurueta.algebra.Matrix bias, com.irurueta.algebra.Matrix initialMg, com.irurueta.algebra.Matrix initialGg, com.irurueta.algebra.Matrix accelerometerBias, com.irurueta.algebra.Matrix accelerometerMa)
      Constructor.
      Parameters:
      position - position where body kinematics measures have been taken.
      turntableRotationRate - constant rotation rate at which the turntable is spinning. Must be expressed in radians per second (rad/s).
      timeInterval - time interval between measurements being captured expressed in seconds (s).
      measurements - collection of body kinematics measurements with standard deviations taken at the same position with zero velocity and unknown different orientations.
      commonAxisUsed - indicates whether z-axis is assumed to be common for accelerometer and gyroscope.
      estimateGDependentCrossBiases - true if G-dependent cross biases will be estimated, false otherwise.
      bias - known gyroscope bias. This must be 3x1 and is expressed in radians per second (rad/s).
      initialMg - initial gyroscope scale factors and cross coupling errors matrix. Must be 3x3.
      initialGg - initial gyroscope G-dependent cross biases introduced on the gyroscope by the specific forces sensed by the accelerometer. Must be 3x3.
      accelerometerBias - known accelerometer bias. This must have length 3 and is expressed in meters per squared second (m/s^2).
      accelerometerMa - known accelerometer scale factors and cross coupling matrix. Must be 3x3.
      Throws:
      IllegalArgumentException - if any of the provided values does not have proper size or if either turntable rotation rate or time interval is zero or negative.
    • RANSACRobustKnownBiasTurntableGyroscopeCalibrator

      public RANSACRobustKnownBiasTurntableGyroscopeCalibrator(com.irurueta.navigation.frames.NEDPosition position, double turntableRotationRate, double timeInterval, List<StandardDeviationBodyKinematics> measurements, boolean commonAxisUsed, boolean estimateGDependentCrossBiases, com.irurueta.algebra.Matrix bias, com.irurueta.algebra.Matrix initialMg, com.irurueta.algebra.Matrix initialGg, com.irurueta.algebra.Matrix accelerometerBias, com.irurueta.algebra.Matrix accelerometerMa, RobustKnownBiasTurntableGyroscopeCalibratorListener listener)
      Constructor.
      Parameters:
      position - position where body kinematics measures have been taken.
      turntableRotationRate - constant rotation rate at which the turntable is spinning. Must be expressed in radians per second (rad/s).
      timeInterval - time interval between measurements being captured expressed in seconds (s).
      measurements - collection of body kinematics measurements with standard deviations taken at the same position with zero velocity and unknown different orientations.
      commonAxisUsed - indicates whether z-axis is assumed to be common for accelerometer and gyroscope.
      estimateGDependentCrossBiases - true if G-dependent cross biases will be estimated, false otherwise.
      bias - known gyroscope bias. This must be 3x1 and is expressed in radians per second (rad/s).
      initialMg - initial gyroscope scale factors and cross coupling errors matrix. Must be 3x3.
      initialGg - initial gyroscope G-dependent cross biases introduced on the gyroscope by the specific forces sensed by the accelerometer. Must be 3x3.
      accelerometerBias - known accelerometer bias. This must have length 3 and is expressed in meters per squared second (m/s^2).
      accelerometerMa - known accelerometer scale factors and cross coupling matrix. Must be 3x3.
      listener - listener to handle events raised by this calibrator.
      Throws:
      IllegalArgumentException - if any of the provided values does not have proper size or if either turntable rotation rate or time interval is zero or negative.
  • Method Details

    • getThreshold

      public double getThreshold()
      Gets threshold to determine whether samples are inliers or not when testing possible solutions. The threshold refers to the amount of error on norm between measured angular rates and the ones generated with estimated calibration parameters provided for each sample.
      Returns:
      threshold to determine whether samples are inliers or not.
    • setThreshold

      public void setThreshold(double threshold) throws com.irurueta.navigation.LockedException
      Sets threshold to determine whether samples are inliers or not when testing possible solutions. The threshold refers to the amount of error on norm between measured angular rates and the ones generated with estimated calibration parameters provided for each sample.
      Parameters:
      threshold - threshold to determine whether samples are inliers or not.
      Throws:
      IllegalArgumentException - if provided value is equal or less than zero.
      com.irurueta.navigation.LockedException - if calibrator is currently running.
    • isComputeAndKeepInliersEnabled

      public boolean isComputeAndKeepInliersEnabled()
      Indicates whether inliers must be computed and kept.
      Returns:
      true if inliers must be computed and kept, false if inliers only need to be computed but not kept.
    • setComputeAndKeepInliersEnabled

      public void setComputeAndKeepInliersEnabled(boolean computeAndKeepInliers) throws com.irurueta.navigation.LockedException
      Specifies whether inliers must be computed and kept.
      Parameters:
      computeAndKeepInliers - true if inliers must be computed and kept, false if inliers only need to be computed but not kept.
      Throws:
      com.irurueta.navigation.LockedException - if calibrator is currently running.
    • isComputeAndKeepResiduals

      public boolean isComputeAndKeepResiduals()
      Indicates whether residuals must be computed and kept.
      Returns:
      true if residuals must be computed and kept, false if residuals only need to be computed but not kept.
    • setComputeAndKeepResidualsEnabled

      public void setComputeAndKeepResidualsEnabled(boolean computeAndKeepResiduals) throws com.irurueta.navigation.LockedException
      Specifies whether residuals must be computed and kept.
      Parameters:
      computeAndKeepResiduals - true if residuals must be computed and kept, false if residuals only need to be computed but not kept.
      Throws:
      com.irurueta.navigation.LockedException - if calibrator is currently running.
    • calibrate

      public void calibrate() throws com.irurueta.navigation.LockedException, com.irurueta.navigation.NotReadyException, CalibrationException
      Estimates gyroscope calibration parameters containing scale factors cross-coupling errors and g-dependant cross biases.
      Throws:
      com.irurueta.navigation.LockedException - if calibrator is currently running.
      com.irurueta.navigation.NotReadyException - if calibrator is not ready.
      CalibrationException - if estimation fails for numerical reasons.
    • getMethod

      public com.irurueta.numerical.robust.RobustEstimatorMethod getMethod()
      Returns method being used for robust estimation.
      Specified by:
      getMethod in class RobustKnownBiasTurntableGyroscopeCalibrator
      Returns:
      method being used for robust estimation.
    • isQualityScoresRequired

      public boolean isQualityScoresRequired()
      Indicates whether this calibrator requires quality scores for each measurement/sequence or not.
      Returns:
      true if quality scores are required, false otherwise.