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 Details

  • 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 interface BaseSlamCalibrator.BaseSlamCalibratorListener<ConstantVelocityModelSlamCalibrationData>
    • onFullSampleProcessed

      public void onFullSampleProcessed(BaseSlamCalibrator<ConstantVelocityModelSlamCalibrationData> calibrator)
      Specified by:
      onFullSampleProcessed in interface BaseSlamCalibrator.BaseSlamCalibratorListener<ConstantVelocityModelSlamCalibrationData>
    • onCalibratorFinished

      public void onCalibratorFinished(BaseSlamCalibrator<ConstantVelocityModelSlamCalibrationData> calibrator, boolean converged, boolean failed)
      Specified by:
      onCalibratorFinished in interface BaseSlamCalibrator.BaseSlamCalibratorListener<ConstantVelocityModelSlamCalibrationData>
    • reset

      private void reset()