Package com.irurueta.ar.slam
Class AbsoluteOrientationConstantVelocityModelSlamCalibratorTest
java.lang.Object
com.irurueta.ar.slam.AbsoluteOrientationConstantVelocityModelSlamCalibratorTest
- All Implemented Interfaces:
BaseSlamCalibrator.BaseSlamCalibratorListener<AbsoluteOrientationConstantVelocityModelSlamCalibrationData>
class AbsoluteOrientationConstantVelocityModelSlamCalibratorTest
extends Object
implements BaseSlamCalibrator.BaseSlamCalibratorListener<AbsoluteOrientationConstantVelocityModelSlamCalibrationData>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final double
private int
static final int
static final double
private int
private int
private static final double
private static final float
static final int
private static final float
private static final int
private static final float
private static final int
private static final double
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
onCalibratorFinished
(BaseSlamCalibrator<AbsoluteOrientationConstantVelocityModelSlamCalibrationData> calibrator, boolean converged, boolean failed) void
onFullSampleProcessed
(BaseSlamCalibrator<AbsoluteOrientationConstantVelocityModelSlamCalibrationData> calibrator) void
onFullSampleReceived
(BaseSlamCalibrator<AbsoluteOrientationConstantVelocityModelSlamCalibrationData> calibrator) private void
reset()
(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
(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
-
TIMES
private static final int TIMES- See Also:
-
ABSOLUTE_ERROR
private static final double ABSOLUTE_ERROR- See Also:
-
LARGE_ABSOLUTE_ERROR
private static final double LARGE_ABSOLUTE_ERROR- See Also:
-
VERY_LARGE_ABSOLUTE_ERROR
private static final double VERY_LARGE_ABSOLUTE_ERROR- See Also:
-
MIN_OFFSET
private static final float MIN_OFFSET- See Also:
-
MAX_OFFSET
private static final float MAX_OFFSET- See Also:
-
NOISE_DEVIATION
private static final float NOISE_DEVIATION- See Also:
-
N_SAMPLES
private static final int N_SAMPLES- See Also:
-
MILLIS_TO_NANOS
public static final int MILLIS_TO_NANOS- See Also:
-
DELTA_NANOS
public static final int DELTA_NANOS- See Also:
-
DELTA_SECONDS
public static final double DELTA_SECONDS- See Also:
-
fullSampleReceived
private int fullSampleReceived -
fullSampleProcessed
private int fullSampleProcessed -
calibratorFinished
private int calibratorFinished
-
-
Constructor Details
-
AbsoluteOrientationConstantVelocityModelSlamCalibratorTest
AbsoluteOrientationConstantVelocityModelSlamCalibratorTest()
-
-
Method Details
-
testConstructor
@Test void testConstructor() throws com.irurueta.algebra.WrongSizeException- Throws:
com.irurueta.algebra.WrongSizeException
-
testIsConverged
@Test void testIsConverged() -
testIsFailed
@Test void testIsFailed() -
testIsFinished
@Test void testIsFinished() -
testGetSampleCount
@Test void testGetSampleCount() -
testGetSetMinNumSamples
@Test void testGetSetMinNumSamples() -
testGetSetMaxNumSamples
@Test void testGetSetMaxNumSamples() -
testGetSetConvergenceThreshold
@Test void testGetSetConvergenceThreshold() -
testReset
@Test void testReset() throws com.irurueta.algebra.WrongSizeException- Throws:
com.irurueta.algebra.WrongSizeException
-
testIsSetAccumulationEnabled
@Test void testIsSetAccumulationEnabled() -
testGetAccelerometerTimestampNanos
@Test void testGetAccelerometerTimestampNanos() -
testGetGyroscopeTimestampNanos
@Test void testGetGyroscopeTimestampNanos() -
testGetAccumulatedAccelerometerSamplesAndIsAccelerometerSampleReceived
@Test void testGetAccumulatedAccelerometerSamplesAndIsAccelerometerSampleReceived() -
testGetAccumulatedGyroscopeSamples
@Test void testGetAccumulatedGyroscopeSamples() -
testIsFullSampleAvailable
@Test void testIsFullSampleAvailable() -
testGetAccumulatedAccelerationSampleX
@Test void testGetAccumulatedAccelerationSampleX() -
testGetAccumulatedAccelerationSampleY
@Test void testGetAccumulatedAccelerationSampleY() -
testGetAccumulatedAccelerationSampleZ
@Test void testGetAccumulatedAccelerationSampleZ() -
testGetAccumulatedAccelerationSample
@Test void testGetAccumulatedAccelerationSample() -
testGetAccumulatedAngularSpeedSampleX
@Test void testGetAccumulatedAngularSpeedSampleX() -
testGetAccumulatedAngularSpeedSampleY
@Test void testGetAccumulatedAngularSpeedSampleY() -
testGetAccumulatedAngularSpeedSampleZ
@Test void testGetAccumulatedAngularSpeedSampleZ() -
testGetAccumulatedAngularSpeedSample
@Test void testGetAccumulatedAngularSpeedSample() -
testGetMostRecentTimestampNanos
@Test void testGetMostRecentTimestampNanos() -
testGetSetListener
@Test void testGetSetListener() -
testGetControlMean
@Test void testGetControlMean() -
testGetControlCovariance
@Test void testGetControlCovariance() throws com.irurueta.algebra.WrongSizeException- Throws:
com.irurueta.algebra.WrongSizeException
-
testGetControlDistribution
@Test void testGetControlDistribution() throws com.irurueta.statistics.InvalidCovarianceMatrixException- Throws:
com.irurueta.statistics.InvalidCovarianceMatrixException
-
testGetCalibrationData
@Test void testGetCalibrationData() -
testPropagateWithControlJacobian
@Test void testPropagateWithControlJacobian() throws com.irurueta.algebra.WrongSizeException, com.irurueta.statistics.InvalidCovarianceMatrixException- Throws:
com.irurueta.algebra.WrongSizeException
com.irurueta.statistics.InvalidCovarianceMatrixException
-
testUpdateAccelerometerSampleWithAccumulationDisabled
@Test void testUpdateAccelerometerSampleWithAccumulationDisabled() -
testUpdateAccelerometerSampleWithAccumulationEnabled
@Test void testUpdateAccelerometerSampleWithAccumulationEnabled() -
testUpdateGyroscopeSampleWithAccumulationDisabled
@Test void testUpdateGyroscopeSampleWithAccumulationDisabled() -
testUpdateGyroscopeSampleWithAccumulationEnabled
@Test void testUpdateGyroscopeSampleWithAccumulationEnabled() -
testUpdateOrientationSampleWithAccumulationDisabled
@Test void testUpdateOrientationSampleWithAccumulationDisabled() -
testUpdateOrientationSampleWithAccumulationEnabled
@Test void testUpdateOrientationSampleWithAccumulationEnabled() -
testCalibrationWithOffset
@Test void testCalibrationWithOffset() throws com.irurueta.numerical.signal.processing.SignalProcessingException- Throws:
com.irurueta.numerical.signal.processing.SignalProcessingException
-
testCalibrationWithoutOffset
@Test void testCalibrationWithoutOffset() throws com.irurueta.numerical.signal.processing.SignalProcessingException- Throws:
com.irurueta.numerical.signal.processing.SignalProcessingException
-
testCalibrationConvergence
@Test void testCalibrationConvergence() -
onFullSampleReceived
public void onFullSampleReceived(BaseSlamCalibrator<AbsoluteOrientationConstantVelocityModelSlamCalibrationData> calibrator) -
onFullSampleProcessed
public void onFullSampleProcessed(BaseSlamCalibrator<AbsoluteOrientationConstantVelocityModelSlamCalibrationData> calibrator) -
onCalibratorFinished
public void onCalibratorFinished(BaseSlamCalibrator<AbsoluteOrientationConstantVelocityModelSlamCalibrationData> calibrator, boolean converged, boolean failed) -
reset
private void reset()
-