Package com.irurueta.ar.slam
Class ConstantVelocityModelSlamCalibratorTest
java.lang.Object
com.irurueta.ar.slam.ConstantVelocityModelSlamCalibratorTest
- All Implemented Interfaces:
BaseSlamCalibrator.BaseSlamCalibratorListener<ConstantVelocityModelSlamCalibrationData>
class ConstantVelocityModelSlamCalibratorTest
extends Object
implements BaseSlamCalibrator.BaseSlamCalibratorListener<ConstantVelocityModelSlamCalibrationData>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final double
private int
private static final int
private static final double
private int
private int
private static final double
private static final float
private 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<ConstantVelocityModelSlamCalibrationData> calibrator, boolean converged, boolean failed) void
void
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
-
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
private static final int MILLIS_TO_NANOS- See Also:
-
DELTA_NANOS
private static final int DELTA_NANOS- See Also:
-
DELTA_SECONDS
private static final double DELTA_SECONDS- See Also:
-
fullSampleReceived
private int fullSampleReceived -
fullSampleProcessed
private int fullSampleProcessed -
calibratorFinished
private int calibratorFinished
-
-
Constructor Details
-
ConstantVelocityModelSlamCalibratorTest
ConstantVelocityModelSlamCalibratorTest()
-
-
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() -
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<ConstantVelocityModelSlamCalibrationData> calibrator) - Specified by:
onFullSampleReceived
in interfaceBaseSlamCalibrator.BaseSlamCalibratorListener<ConstantVelocityModelSlamCalibrationData>
-
onFullSampleProcessed
public void onFullSampleProcessed(BaseSlamCalibrator<ConstantVelocityModelSlamCalibrationData> calibrator) - Specified by:
onFullSampleProcessed
in interfaceBaseSlamCalibrator.BaseSlamCalibratorListener<ConstantVelocityModelSlamCalibrationData>
-
onCalibratorFinished
public void onCalibratorFinished(BaseSlamCalibrator<ConstantVelocityModelSlamCalibrationData> calibrator, boolean converged, boolean failed) - Specified by:
onCalibratorFinished
in interfaceBaseSlamCalibrator.BaseSlamCalibratorListener<ConstantVelocityModelSlamCalibrationData>
-
reset
private void reset()
-