Class MixedRadioSourceEstimator2DTest

java.lang.Object
com.irurueta.navigation.indoor.radiosource.MixedRadioSourceEstimator2DTest
All Implemented Interfaces:
MixedRadioSourceEstimatorListener<WifiAccessPoint,com.irurueta.geometry.Point2D>, RadioSourceEstimatorListener<MixedRadioSourceEstimator<WifiAccessPoint,com.irurueta.geometry.Point2D>>

class MixedRadioSourceEstimator2DTest extends Object implements MixedRadioSourceEstimatorListener<WifiAccessPoint,com.irurueta.geometry.Point2D>
  • Field Details

  • Constructor Details

    • MixedRadioSourceEstimator2DTest

      MixedRadioSourceEstimator2DTest()
  • Method Details

    • testConstants

      @Test void testConstants()
    • testConstructor

      @Test void testConstructor()
    • testGetMinReadings

      @Test void testGetMinReadings() throws com.irurueta.navigation.LockedException
      Throws:
      com.irurueta.navigation.LockedException
    • testGetSetInitialTransmittedPowerdBm

      @Test void testGetSetInitialTransmittedPowerdBm() throws com.irurueta.navigation.LockedException
      Throws:
      com.irurueta.navigation.LockedException
    • testGetSetInitialTransmittedPower

      @Test void testGetSetInitialTransmittedPower() throws com.irurueta.navigation.LockedException
      Throws:
      com.irurueta.navigation.LockedException
    • testGetSetInitialPosition

      @Test void testGetSetInitialPosition() throws com.irurueta.navigation.LockedException
      Throws:
      com.irurueta.navigation.LockedException
    • testGetSetInitialPathLossExponent

      @Test void testGetSetInitialPathLossExponent() throws com.irurueta.navigation.LockedException
      Throws:
      com.irurueta.navigation.LockedException
    • testIsSetTransmittedPowerEstimationEnabled

      @Test void testIsSetTransmittedPowerEstimationEnabled() throws com.irurueta.navigation.LockedException
      Throws:
      com.irurueta.navigation.LockedException
    • testIsSetPathLossEstimationEnabled

      @Test void testIsSetPathLossEstimationEnabled() throws com.irurueta.navigation.LockedException
      Throws:
      com.irurueta.navigation.LockedException
    • testGetSetUseReadingPositionCovariance

      @Test void testGetSetUseReadingPositionCovariance() throws com.irurueta.navigation.LockedException
      Throws:
      com.irurueta.navigation.LockedException
    • testIsSetHomogeneousRangingLinearSolverUsed

      @Test void testIsSetHomogeneousRangingLinearSolverUsed() throws com.irurueta.navigation.LockedException
      Throws:
      com.irurueta.navigation.LockedException
    • testAreValidReadings

      @Test void testAreValidReadings() throws com.irurueta.navigation.LockedException
      Throws:
      com.irurueta.navigation.LockedException
    • testGetSetReadings

      @Test void testGetSetReadings() throws com.irurueta.navigation.LockedException
      Throws:
      com.irurueta.navigation.LockedException
    • testGetSetListener

      @Test void testGetSetListener() throws com.irurueta.navigation.LockedException
      Throws:
      com.irurueta.navigation.LockedException
    • testEstimateWithoutInitialPositionAndInitialTransmittedPowerAndWithoutError

      @Test void testEstimateWithoutInitialPositionAndInitialTransmittedPowerAndWithoutError() throws com.irurueta.navigation.LockedException, com.irurueta.navigation.NotReadyException, IndoorException, com.irurueta.algebra.AlgebraException
      Throws:
      com.irurueta.navigation.LockedException
      com.irurueta.navigation.NotReadyException
      IndoorException
      com.irurueta.algebra.AlgebraException
    • testEstimateWithInitialPositionWithoutError

      @Test void testEstimateWithInitialPositionWithoutError() throws com.irurueta.navigation.LockedException, com.irurueta.navigation.NotReadyException, IndoorException, com.irurueta.algebra.AlgebraException
      Throws:
      com.irurueta.navigation.LockedException
      com.irurueta.navigation.NotReadyException
      IndoorException
      com.irurueta.algebra.AlgebraException
    • testEstimateWithInitialTransmittedPowerWithoutError

      @Test void testEstimateWithInitialTransmittedPowerWithoutError() throws com.irurueta.navigation.LockedException, com.irurueta.navigation.NotReadyException, IndoorException, com.irurueta.algebra.AlgebraException
      Throws:
      com.irurueta.navigation.LockedException
      com.irurueta.navigation.NotReadyException
      IndoorException
      com.irurueta.algebra.AlgebraException
    • testEstimateWithInitialPositionAndInitialTransmittedPowerWithoutError

      @Test void testEstimateWithInitialPositionAndInitialTransmittedPowerWithoutError() throws com.irurueta.navigation.LockedException, com.irurueta.navigation.NotReadyException, IndoorException, com.irurueta.algebra.AlgebraException
      Throws:
      com.irurueta.navigation.LockedException
      com.irurueta.navigation.NotReadyException
      IndoorException
      com.irurueta.algebra.AlgebraException
    • testEstimateWithoutInitialPositionAndInitialTransmittedPowerAndWithError

      @Test void testEstimateWithoutInitialPositionAndInitialTransmittedPowerAndWithError() throws com.irurueta.navigation.LockedException, com.irurueta.navigation.NotReadyException, IndoorException, com.irurueta.algebra.AlgebraException
      Throws:
      com.irurueta.navigation.LockedException
      com.irurueta.navigation.NotReadyException
      IndoorException
      com.irurueta.algebra.AlgebraException
    • testEstimateWithInitialPositionAndWithError

      @Test void testEstimateWithInitialPositionAndWithError() throws com.irurueta.navigation.LockedException, com.irurueta.navigation.NotReadyException, IndoorException, com.irurueta.algebra.AlgebraException
      Throws:
      com.irurueta.navigation.LockedException
      com.irurueta.navigation.NotReadyException
      IndoorException
      com.irurueta.algebra.AlgebraException
    • testEstimateWithInitialTransmittedPowerAndWithError

      @Test void testEstimateWithInitialTransmittedPowerAndWithError() throws com.irurueta.navigation.LockedException, com.irurueta.navigation.NotReadyException, IndoorException, com.irurueta.algebra.AlgebraException
      Throws:
      com.irurueta.navigation.LockedException
      com.irurueta.navigation.NotReadyException
      IndoorException
      com.irurueta.algebra.AlgebraException
    • testEstimateWithInitialPositionAndInitialTransmittedPowerAndWithError

      @Test void testEstimateWithInitialPositionAndInitialTransmittedPowerAndWithError() throws com.irurueta.navigation.LockedException, com.irurueta.navigation.NotReadyException, IndoorException, com.irurueta.algebra.AlgebraException
      Throws:
      com.irurueta.navigation.LockedException
      com.irurueta.navigation.NotReadyException
      IndoorException
      com.irurueta.algebra.AlgebraException
    • testEstimatePositionTransmittedPowerAndPathLossEstimationEnabled

      @Test void testEstimatePositionTransmittedPowerAndPathLossEstimationEnabled() throws com.irurueta.navigation.LockedException, com.irurueta.navigation.NotReadyException, IndoorException, com.irurueta.algebra.AlgebraException
      Throws:
      com.irurueta.navigation.LockedException
      com.irurueta.navigation.NotReadyException
      IndoorException
      com.irurueta.algebra.AlgebraException
    • testEstimatePositionTransmittedPowerAndPathLossEstimationEnabledWithInitialValues

      @Test void testEstimatePositionTransmittedPowerAndPathLossEstimationEnabledWithInitialValues() throws com.irurueta.navigation.LockedException, com.irurueta.navigation.NotReadyException, IndoorException, com.irurueta.algebra.AlgebraException
      Throws:
      com.irurueta.navigation.LockedException
      com.irurueta.navigation.NotReadyException
      IndoorException
      com.irurueta.algebra.AlgebraException
    • testEstimateWithInitialPathLoss

      @Test void testEstimateWithInitialPathLoss() throws com.irurueta.navigation.LockedException, com.irurueta.navigation.NotReadyException, IndoorException, com.irurueta.algebra.AlgebraException
      Throws:
      com.irurueta.navigation.LockedException
      com.irurueta.navigation.NotReadyException
      IndoorException
      com.irurueta.algebra.AlgebraException
    • testEstimateBeacon

      @Test void testEstimateBeacon() throws com.irurueta.navigation.LockedException, com.irurueta.navigation.NotReadyException, IndoorException, com.irurueta.algebra.AlgebraException
      Throws:
      com.irurueta.navigation.LockedException
      com.irurueta.navigation.NotReadyException
      IndoorException
      com.irurueta.algebra.AlgebraException
    • testEstimatePositionOnly

      @Test void testEstimatePositionOnly() throws com.irurueta.navigation.LockedException, com.irurueta.navigation.NotReadyException, IndoorException, com.irurueta.algebra.AlgebraException
      Throws:
      com.irurueta.navigation.LockedException
      com.irurueta.navigation.NotReadyException
      IndoorException
      com.irurueta.algebra.AlgebraException
    • testEstimatePositionOnlyWithInitialPosition

      @Test void testEstimatePositionOnlyWithInitialPosition() throws com.irurueta.navigation.LockedException, com.irurueta.navigation.NotReadyException, IndoorException, com.irurueta.algebra.AlgebraException
      Throws:
      com.irurueta.navigation.LockedException
      com.irurueta.navigation.NotReadyException
      IndoorException
      com.irurueta.algebra.AlgebraException
    • testEstimatePositionOnlyRepeated

      @Test void testEstimatePositionOnlyRepeated() throws com.irurueta.navigation.LockedException, com.irurueta.navigation.NotReadyException, IndoorException, com.irurueta.algebra.AlgebraException
      Throws:
      com.irurueta.navigation.LockedException
      com.irurueta.navigation.NotReadyException
      IndoorException
      com.irurueta.algebra.AlgebraException
    • testEstimatePositionAndPathloss

      @Test void testEstimatePositionAndPathloss() throws com.irurueta.navigation.LockedException, com.irurueta.navigation.NotReadyException, IndoorException, com.irurueta.algebra.AlgebraException
      Throws:
      com.irurueta.navigation.LockedException
      com.irurueta.navigation.NotReadyException
      IndoorException
      com.irurueta.algebra.AlgebraException
    • testEstimatePositionAndPathlossWithInitialValues

      @Test void testEstimatePositionAndPathlossWithInitialValues() throws com.irurueta.navigation.LockedException, com.irurueta.navigation.NotReadyException, IndoorException, com.irurueta.algebra.AlgebraException
      Throws:
      com.irurueta.navigation.LockedException
      com.irurueta.navigation.NotReadyException
      IndoorException
      com.irurueta.algebra.AlgebraException
    • testEstimateWithRangingStandardDeviations

      @Test void testEstimateWithRangingStandardDeviations() throws com.irurueta.navigation.LockedException, com.irurueta.navigation.NotReadyException, IndoorException, com.irurueta.algebra.AlgebraException
      Throws:
      com.irurueta.navigation.LockedException
      com.irurueta.navigation.NotReadyException
      IndoorException
      com.irurueta.algebra.AlgebraException
    • testEstimateWithRSSIStandardDeviations

      @Test void testEstimateWithRSSIStandardDeviations() throws com.irurueta.navigation.LockedException, com.irurueta.navigation.NotReadyException, IndoorException, com.irurueta.algebra.AlgebraException
      Throws:
      com.irurueta.navigation.LockedException
      com.irurueta.navigation.NotReadyException
      IndoorException
      com.irurueta.algebra.AlgebraException
    • testEstimateWithPositionCovariance

      @Test void testEstimateWithPositionCovariance() throws com.irurueta.navigation.LockedException, com.irurueta.navigation.NotReadyException, IndoorException, com.irurueta.algebra.AlgebraException
      Throws:
      com.irurueta.navigation.LockedException
      com.irurueta.navigation.NotReadyException
      IndoorException
      com.irurueta.algebra.AlgebraException
    • testEstimateWithRangingAndRSSIStandardDeviations

      @Test void testEstimateWithRangingAndRSSIStandardDeviations() throws com.irurueta.navigation.LockedException, com.irurueta.navigation.NotReadyException, IndoorException, com.irurueta.algebra.AlgebraException
      Throws:
      com.irurueta.navigation.LockedException
      com.irurueta.navigation.NotReadyException
      IndoorException
      com.irurueta.algebra.AlgebraException
    • testEstimateWithRangingStandardDeviationsAndPositionCovariance

      @Test void testEstimateWithRangingStandardDeviationsAndPositionCovariance() throws com.irurueta.navigation.LockedException, com.irurueta.navigation.NotReadyException, IndoorException, com.irurueta.algebra.AlgebraException
      Throws:
      com.irurueta.navigation.LockedException
      com.irurueta.navigation.NotReadyException
      IndoorException
      com.irurueta.algebra.AlgebraException
    • testEstimateWithRSSIStandardDeviationsAndPositionCovariance

      @Test void testEstimateWithRSSIStandardDeviationsAndPositionCovariance() throws com.irurueta.navigation.LockedException, com.irurueta.navigation.NotReadyException, IndoorException, com.irurueta.algebra.AlgebraException
      Throws:
      com.irurueta.navigation.LockedException
      com.irurueta.navigation.NotReadyException
      IndoorException
      com.irurueta.algebra.AlgebraException
    • testEstimateWithRangingAndRSSIStandardDeviationsAndPositionCovariance

      @Test void testEstimateWithRangingAndRSSIStandardDeviationsAndPositionCovariance() throws com.irurueta.navigation.LockedException, com.irurueta.navigation.NotReadyException, IndoorException, com.irurueta.algebra.AlgebraException
      Throws:
      com.irurueta.navigation.LockedException
      com.irurueta.navigation.NotReadyException
      IndoorException
      com.irurueta.algebra.AlgebraException
    • testEstimateWithMixedRangingAndRssiReadings

      @Test void testEstimateWithMixedRangingAndRssiReadings() throws com.irurueta.navigation.LockedException, com.irurueta.navigation.NotReadyException, IndoorException, com.irurueta.algebra.AlgebraException
      Throws:
      com.irurueta.navigation.LockedException
      com.irurueta.navigation.NotReadyException
      IndoorException
      com.irurueta.algebra.AlgebraException
    • testEstimateWithOnlyRssiReadings

      @Test void testEstimateWithOnlyRssiReadings() throws com.irurueta.navigation.LockedException, com.irurueta.navigation.NotReadyException, IndoorException, com.irurueta.algebra.AlgebraException
      Throws:
      com.irurueta.navigation.LockedException
      com.irurueta.navigation.NotReadyException
      IndoorException
      com.irurueta.algebra.AlgebraException
    • testEstimateWithOnlyRangingReadings

      @Test void testEstimateWithOnlyRangingReadings() throws com.irurueta.navigation.LockedException, com.irurueta.navigation.NotReadyException, IndoorException, com.irurueta.algebra.AlgebraException
      Throws:
      com.irurueta.navigation.LockedException
      com.irurueta.navigation.NotReadyException
      IndoorException
      com.irurueta.algebra.AlgebraException
    • testEstimateWithMixedRangingAndRssiReadingsAndHomogeneousRangingLinearSolver

      @Test void testEstimateWithMixedRangingAndRssiReadingsAndHomogeneousRangingLinearSolver() throws com.irurueta.navigation.LockedException, com.irurueta.navigation.NotReadyException, com.irurueta.algebra.AlgebraException
      Throws:
      com.irurueta.navigation.LockedException
      com.irurueta.navigation.NotReadyException
      com.irurueta.algebra.AlgebraException
    • testEstimateWithMixedRangingAndRssiReadingsAndInhomogeneousRangingLinearSolver

      @Test void testEstimateWithMixedRangingAndRssiReadingsAndInhomogeneousRangingLinearSolver() throws com.irurueta.navigation.LockedException, com.irurueta.navigation.NotReadyException, com.irurueta.algebra.AlgebraException
      Throws:
      com.irurueta.navigation.LockedException
      com.irurueta.navigation.NotReadyException
      com.irurueta.algebra.AlgebraException
    • onEstimateStart

      public void onEstimateStart(MixedRadioSourceEstimator<WifiAccessPoint,com.irurueta.geometry.Point2D> estimator)
      Specified by:
      onEstimateStart in interface RadioSourceEstimatorListener<MixedRadioSourceEstimator<WifiAccessPoint,com.irurueta.geometry.Point2D>>
    • onEstimateEnd

      public void onEstimateEnd(MixedRadioSourceEstimator<WifiAccessPoint,com.irurueta.geometry.Point2D> estimator)
      Specified by:
      onEstimateEnd in interface RadioSourceEstimatorListener<MixedRadioSourceEstimator<WifiAccessPoint,com.irurueta.geometry.Point2D>>
    • reset

      private void reset()
    • receivedPower

      private static double receivedPower(double equivalentTransmittedPower, double distance, double frequency, double pathLossExponent)
    • checkLocked

      private static void checkLocked(MixedRadioSourceEstimator<WifiAccessPoint,com.irurueta.geometry.Point2D> estimator)