Class ExhaustiveAccelerometerIntervalDetectorThresholdFactorOptimizerTest
java.lang.Object
com.irurueta.navigation.inertial.calibration.intervals.thresholdfactor.ExhaustiveAccelerometerIntervalDetectorThresholdFactorOptimizerTest
- All Implemented Interfaces:
IntervalDetectorThresholdFactorOptimizerListener<com.irurueta.navigation.inertial.BodyKinematics,AccelerometerIntervalDetectorThresholdFactorOptimizerDataSource>
class ExhaustiveAccelerometerIntervalDetectorThresholdFactorOptimizerTest
extends Object
implements IntervalDetectorThresholdFactorOptimizerListener<com.irurueta.navigation.inertial.BodyKinematics,AccelerometerIntervalDetectorThresholdFactorOptimizerDataSource>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final doubleprivate final List<com.irurueta.navigation.inertial.BodyKinematics> private static final doubleprivate intprivate final com.irurueta.navigation.inertial.calibration.generators.AccelerometerMeasurementsGeneratorListenerprivate final List<StandardDeviationBodyKinematics> private static final doubleprivate static final doubleprivate static final doubleprivate static final doubleprivate static final doubleprivate static final doubleprivate static final doubleprivate static final doubleprivate static final doubleprivate static final doubleprivate static final doubleprivate static final doubleprivate static final doubleprivate static final doubleprivate floatprivate static final doubleprivate static final doubleprivate intprivate static final doubleprivate static final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidprivate static com.irurueta.algebra.Matrixprivate static com.irurueta.algebra.Matrixprivate booleangenerateBodyKinematics(com.irurueta.navigation.frames.NEDFrame nedFrame, com.irurueta.navigation.frames.ECEFFrame ecefFrame, boolean changePosition, com.irurueta.algebra.Matrix ma, double accelNoiseRootPSD, double gyroNoiseRootPSD, int numMeasurements) private voidgenerateDynamicSamples(com.irurueta.navigation.inertial.calibration.generators.AccelerometerMeasurementsGenerator generator, int numSamples, com.irurueta.navigation.inertial.BodyKinematics trueKinematics, com.irurueta.statistics.UniformRandomizer randomizer, com.irurueta.navigation.frames.ECEFFrame ecefFrame, com.irurueta.navigation.frames.NEDFrame nedFrame, IMUErrors errors, Random random, boolean changePosition) private static com.irurueta.navigation.frames.NEDFrameprivate static com.irurueta.algebra.Matrixprivate static com.irurueta.algebra.Matrixprivate static com.irurueta.algebra.Matrixprivate static com.irurueta.algebra.Matrixprivate voidgenerateStaticSamples(com.irurueta.navigation.inertial.calibration.generators.AccelerometerMeasurementsGenerator generator, int numSamples, com.irurueta.navigation.inertial.BodyKinematics trueKinematics, IMUErrors errors, Random random) private static doubleprivate static doublevoidonOptimizeEnd(IntervalDetectorThresholdFactorOptimizer<com.irurueta.navigation.inertial.BodyKinematics, AccelerometerIntervalDetectorThresholdFactorOptimizerDataSource> optimizer) voidonOptimizeProgressChange(IntervalDetectorThresholdFactorOptimizer<com.irurueta.navigation.inertial.BodyKinematics, AccelerometerIntervalDetectorThresholdFactorOptimizerDataSource> optimizer, float progress) voidonOptimizeStart(IntervalDetectorThresholdFactorOptimizer<com.irurueta.navigation.inertial.BodyKinematics, AccelerometerIntervalDetectorThresholdFactorOptimizerDataSource> optimizer) private voidreset()(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void
-
Field Details
-
TIME_INTERVAL_SECONDS
private static final double TIME_INTERVAL_SECONDS- See Also:
-
MICRO_G_TO_METERS_PER_SECOND_SQUARED
private static final double MICRO_G_TO_METERS_PER_SECOND_SQUARED- See Also:
-
DEG_TO_RAD
private static final double DEG_TO_RAD- See Also:
-
MIN_ANGLE_DEGREES
private static final double MIN_ANGLE_DEGREES- See Also:
-
MAX_ANGLE_DEGREES
private static final double MAX_ANGLE_DEGREES- See Also:
-
MIN_LATITUDE_DEGREES
private static final double MIN_LATITUDE_DEGREES- See Also:
-
MAX_LATITUDE_DEGREES
private static final double MAX_LATITUDE_DEGREES- See Also:
-
MIN_LONGITUDE_DEGREES
private static final double MIN_LONGITUDE_DEGREES- See Also:
-
MAX_LONGITUDE_DEGREES
private static final double MAX_LONGITUDE_DEGREES- See Also:
-
MIN_HEIGHT
private static final double MIN_HEIGHT- See Also:
-
MAX_HEIGHT
private static final double MAX_HEIGHT- See Also:
-
MIN_DELTA_POS_METERS
private static final double MIN_DELTA_POS_METERS- See Also:
-
MAX_DELTA_POS_METERS
private static final double MAX_DELTA_POS_METERS- See Also:
-
MIN_DELTA_ANGLE_DEGREES
private static final double MIN_DELTA_ANGLE_DEGREES- See Also:
-
MAX_DELTA_ANGLE_DEGREES
private static final double MAX_DELTA_ANGLE_DEGREES- See Also:
-
TIMES
private static final int TIMES- See Also:
-
LARGE_ABSOLUTE_ERROR
private static final double LARGE_ABSOLUTE_ERROR- See Also:
-
ABSOLUTE_ERROR
private static final double ABSOLUTE_ERROR- See Also:
-
SMALL_ABSOLUTE_ERROR
private static final double SMALL_ABSOLUTE_ERROR- See Also:
-
SMALL_ROOT_PSD
private static final double SMALL_ROOT_PSD- See Also:
-
bodyKinematics
-
dataSource
-
generatorListener
private final com.irurueta.navigation.inertial.calibration.generators.AccelerometerMeasurementsGeneratorListener generatorListener -
generatorMeasurements
-
start
private int start -
end
private int end -
progress
private float progress
-
-
Constructor Details
-
ExhaustiveAccelerometerIntervalDetectorThresholdFactorOptimizerTest
ExhaustiveAccelerometerIntervalDetectorThresholdFactorOptimizerTest()
-
-
Method Details
-
testConstructor1
@Test void testConstructor1() -
testConstructor2
@Test void testConstructor2() -
testConstructor3
@Test void testConstructor3() -
testConstructor4
@Test void testConstructor4() -
testGetSetThresholdFactorStep
@Test void testGetSetThresholdFactorStep() throws com.irurueta.navigation.LockedException- Throws:
com.irurueta.navigation.LockedException
-
testGetSetCalibrator
@Test void testGetSetCalibrator() throws com.irurueta.navigation.LockedException- Throws:
com.irurueta.navigation.LockedException
-
testGetSetQualityScoreMapper
@Test void testGetSetQualityScoreMapper() throws com.irurueta.navigation.LockedException- Throws:
com.irurueta.navigation.LockedException
-
testGetSetThresholdFactorRange
@Test void testGetSetThresholdFactorRange() throws com.irurueta.navigation.LockedException- Throws:
com.irurueta.navigation.LockedException
-
testGetSetDataSource
@Test void testGetSetDataSource() throws com.irurueta.navigation.LockedException- Throws:
com.irurueta.navigation.LockedException
-
testIsReady
@Test void testIsReady() throws com.irurueta.navigation.LockedException- Throws:
com.irurueta.navigation.LockedException
-
testGetSetTimeInterval
@Test void testGetSetTimeInterval() throws com.irurueta.navigation.LockedException- Throws:
com.irurueta.navigation.LockedException
-
testGetSetTimeIntervalAsTime
@Test void testGetSetTimeIntervalAsTime() throws com.irurueta.navigation.LockedException- Throws:
com.irurueta.navigation.LockedException
-
testGetSetMinStaticSamples
@Test void testGetSetMinStaticSamples() throws com.irurueta.navigation.LockedException- Throws:
com.irurueta.navigation.LockedException
-
testGetSetMaxDynamicSamples
@Test void testGetSetMaxDynamicSamples() throws com.irurueta.navigation.LockedException- Throws:
com.irurueta.navigation.LockedException
-
testGetSetWindowSize
@Test void testGetSetWindowSize() throws com.irurueta.navigation.LockedException- Throws:
com.irurueta.navigation.LockedException
-
testGetSetInitialStaticSamples
@Test void testGetSetInitialStaticSamples() throws com.irurueta.navigation.LockedException- Throws:
com.irurueta.navigation.LockedException
-
testGetSetInstantaneousNoiseLevelFactor
@Test void testGetSetInstantaneousNoiseLevelFactor() throws com.irurueta.navigation.LockedException- Throws:
com.irurueta.navigation.LockedException
-
testGetSetBaseNoiseLevelAbsoluteThreshold
@Test void testGetSetBaseNoiseLevelAbsoluteThreshold() throws com.irurueta.navigation.LockedException- Throws:
com.irurueta.navigation.LockedException
-
testGetSetBaseNoiseLevelAbsoluteThresholdAsMeasurement
@Test void testGetSetBaseNoiseLevelAbsoluteThresholdAsMeasurement() throws com.irurueta.navigation.LockedException- Throws:
com.irurueta.navigation.LockedException
-
testGetSetListener
@Test void testGetSetListener() throws com.irurueta.navigation.LockedException- Throws:
com.irurueta.navigation.LockedException
-
testGetSetProgressDelta
@Test void testGetSetProgressDelta() throws com.irurueta.navigation.LockedException- Throws:
com.irurueta.navigation.LockedException
-
testOptimizeGeneralWithNoise
@Test void testOptimizeGeneralWithNoise() throws com.irurueta.algebra.WrongSizeException, com.irurueta.navigation.frames.InvalidSourceAndDestinationFrameTypeException, com.irurueta.navigation.LockedException, com.irurueta.navigation.NotReadyException, IntervalDetectorThresholdFactorOptimizerException, CalibrationException- Throws:
com.irurueta.algebra.WrongSizeExceptioncom.irurueta.navigation.frames.InvalidSourceAndDestinationFrameTypeExceptioncom.irurueta.navigation.LockedExceptioncom.irurueta.navigation.NotReadyExceptionIntervalDetectorThresholdFactorOptimizerExceptionCalibrationException
-
testOptimizeCommonAxisSmallNoiseOnlyRotation
@Test void testOptimizeCommonAxisSmallNoiseOnlyRotation() throws com.irurueta.navigation.frames.InvalidSourceAndDestinationFrameTypeException, com.irurueta.algebra.WrongSizeException, com.irurueta.navigation.LockedException, com.irurueta.navigation.NotReadyException, IntervalDetectorThresholdFactorOptimizerException, CalibrationException- Throws:
com.irurueta.navigation.frames.InvalidSourceAndDestinationFrameTypeExceptioncom.irurueta.algebra.WrongSizeExceptioncom.irurueta.navigation.LockedExceptioncom.irurueta.navigation.NotReadyExceptionIntervalDetectorThresholdFactorOptimizerExceptionCalibrationException
-
testOptimizeCommonAxisSmallNoiseWithRotationAndPositionChange
@Test void testOptimizeCommonAxisSmallNoiseWithRotationAndPositionChange() throws com.irurueta.navigation.frames.InvalidSourceAndDestinationFrameTypeException, com.irurueta.algebra.WrongSizeException, com.irurueta.navigation.LockedException, com.irurueta.navigation.NotReadyException, IntervalDetectorThresholdFactorOptimizerException, CalibrationException- Throws:
com.irurueta.navigation.frames.InvalidSourceAndDestinationFrameTypeExceptioncom.irurueta.algebra.WrongSizeExceptioncom.irurueta.navigation.LockedExceptioncom.irurueta.navigation.NotReadyExceptionIntervalDetectorThresholdFactorOptimizerExceptionCalibrationException
-
testOptimizeRobustCalibrator
@Test void testOptimizeRobustCalibrator() throws com.irurueta.algebra.WrongSizeException, com.irurueta.navigation.frames.InvalidSourceAndDestinationFrameTypeException, com.irurueta.navigation.LockedException, com.irurueta.navigation.NotReadyException, IntervalDetectorThresholdFactorOptimizerException, CalibrationException- Throws:
com.irurueta.algebra.WrongSizeExceptioncom.irurueta.navigation.frames.InvalidSourceAndDestinationFrameTypeExceptioncom.irurueta.navigation.LockedExceptioncom.irurueta.navigation.NotReadyExceptionIntervalDetectorThresholdFactorOptimizerExceptionCalibrationException
-
generateFrame
private static com.irurueta.navigation.frames.NEDFrame generateFrame() throws com.irurueta.navigation.frames.InvalidSourceAndDestinationFrameTypeException- Throws:
com.irurueta.navigation.frames.InvalidSourceAndDestinationFrameTypeException
-
generateBa
private static com.irurueta.algebra.Matrix generateBa() -
generateBg
private static com.irurueta.algebra.Matrix generateBg() -
generateMaCommonAxis
private static com.irurueta.algebra.Matrix generateMaCommonAxis() throws com.irurueta.algebra.WrongSizeException- Throws:
com.irurueta.algebra.WrongSizeException
-
generateMaGeneral
private static com.irurueta.algebra.Matrix generateMaGeneral() throws com.irurueta.algebra.WrongSizeException- Throws:
com.irurueta.algebra.WrongSizeException
-
generateMg
private static com.irurueta.algebra.Matrix generateMg() throws com.irurueta.algebra.WrongSizeException- Throws:
com.irurueta.algebra.WrongSizeException
-
generateGg
private static com.irurueta.algebra.Matrix generateGg() throws com.irurueta.algebra.WrongSizeException- Throws:
com.irurueta.algebra.WrongSizeException
-
getAccelNoiseRootPSD
private static double getAccelNoiseRootPSD() -
getGyroNoiseRootPSD
private static double getGyroNoiseRootPSD() -
reset
private void reset()
-