Class BodyKinematicsGeneratorTest
java.lang.Object
com.irurueta.navigation.inertial.calibration.BodyKinematicsGeneratorTest
@ExtendWith(org.mockito.junit.jupiter.MockitoExtension.class)
class BodyKinematicsGeneratorTest
extends Object
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate 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 static final intprivate static final intprivate static final double -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static BodyKinematicsgenerate(double timeInterval, BodyKinematics trueKinematics, IMUErrors errors, Random random, double[] oldQuantizationResiduals, double[] quantizationResiduals) private static com.irurueta.algebra.Matrixprivate static com.irurueta.algebra.Matrixprivate static com.irurueta.algebra.Matrixprivate static com.irurueta.algebra.Matrixprivate static com.irurueta.algebra.Matrixprivate static doubleprivate static double(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:
-
MIN_ACCELEROMETER_VALUE
private static final double MIN_ACCELEROMETER_VALUE- See Also:
-
MAX_ACCELEROMETER_VALUE
private static final double MAX_ACCELEROMETER_VALUE- See Also:
-
MIN_GYRO_VALUE
private static final double MIN_GYRO_VALUE- See Also:
-
MAX_GYRO_VALUE
private static final double MAX_GYRO_VALUE- 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_ACCEL_QUANT_RESIDUAL
private static final double MIN_ACCEL_QUANT_RESIDUAL- See Also:
-
MAX_ACCEL_QUANT_RESIDUAL
private static final double MAX_ACCEL_QUANT_RESIDUAL- See Also:
-
MIN_GYRO_QUANT_RESIDUAL
private static final double MIN_GYRO_QUANT_RESIDUAL- See Also:
-
MAX_GYRO_QUANT_RESIDUAL
private static final double MAX_GYRO_QUANT_RESIDUAL- See Also:
-
NUM
private static final int NUM- See Also:
-
SAMPLES
private static final int SAMPLES- See Also:
-
ABSOLUTE_ERROR
private static final double ABSOLUTE_ERROR- See Also:
-
LARGE_ABSOLUTE_ERROR
private static final double LARGE_ABSOLUTE_ERROR- See Also:
-
ACCEL_QUANT_LEVEL
private static final double ACCEL_QUANT_LEVEL- See Also:
-
GYRO_QUANT_LEVEL
private static final double GYRO_QUANT_LEVEL- See Also:
-
-
Constructor Details
-
BodyKinematicsGeneratorTest
BodyKinematicsGeneratorTest()
-
-
Method Details
-
testGenerateSingleTimeIntervalQuantizedAndWithNoise
@Test void testGenerateSingleTimeIntervalQuantizedAndWithNoise() throws com.irurueta.algebra.WrongSizeException- Throws:
com.irurueta.algebra.WrongSizeException
-
testGenerateSingleNoTimeIntervalQuantizedAndWithNoise
@Test void testGenerateSingleNoTimeIntervalQuantizedAndWithNoise() throws com.irurueta.algebra.WrongSizeException- Throws:
com.irurueta.algebra.WrongSizeException
-
testGenerateSingleTimeIntervalQuantizedAndWithoutNoise
@Test void testGenerateSingleTimeIntervalQuantizedAndWithoutNoise() throws com.irurueta.algebra.WrongSizeException- Throws:
com.irurueta.algebra.WrongSizeException
-
testGenerateSingleTimeIntervalNotQuantizedAndWithNoise
@Test void testGenerateSingleTimeIntervalNotQuantizedAndWithNoise() throws com.irurueta.algebra.WrongSizeException- Throws:
com.irurueta.algebra.WrongSizeException
-
testGenerateSingleNoTimeIntervalNoQuantizationAndNoNoise
@Test void testGenerateSingleNoTimeIntervalNoQuantizationAndNoNoise() throws com.irurueta.algebra.WrongSizeException, com.irurueta.algebra.RankDeficientMatrixException, com.irurueta.algebra.DecomposerException- Throws:
com.irurueta.algebra.WrongSizeExceptioncom.irurueta.algebra.RankDeficientMatrixExceptioncom.irurueta.algebra.DecomposerException
-
testGenerateCollection
@Test void testGenerateCollection() throws com.irurueta.algebra.WrongSizeException- Throws:
com.irurueta.algebra.WrongSizeException
-
testEstimateNoiseRootPSDs
@Test void testEstimateNoiseRootPSDs() throws com.irurueta.algebra.WrongSizeException- Throws:
com.irurueta.algebra.WrongSizeException
-
generateBa
private static com.irurueta.algebra.Matrix generateBa() -
generateBg
private static com.irurueta.algebra.Matrix generateBg() -
generateMa
private static com.irurueta.algebra.Matrix generateMa() 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()
-