Class RangingAndRssiRadioSourceEstimator3DTest
java.lang.Object
com.irurueta.navigation.indoor.radiosource.RangingAndRssiRadioSourceEstimator3DTest
- All Implemented Interfaces:
RadioSourceEstimatorListener<RangingAndRssiRadioSourceEstimator<WifiAccessPoint,,com.irurueta.geometry.Point3D>> RangingAndRssiRadioSourceEstimatorListener<WifiAccessPoint,com.irurueta.geometry.Point3D>
class RangingAndRssiRadioSourceEstimator3DTest
extends Object
implements RangingAndRssiRadioSourceEstimatorListener<WifiAccessPoint,com.irurueta.geometry.Point3D>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final doubleprivate static final doubleprivate intprivate intprivate static final doubleprivate static final doubleprivate static final doubleprivate static final Loggerprivate static final doubleprivate static final doubleprivate static final intprivate static final doubleprivate static final doubleprivate static final doubleprivate static final intprivate static final doubleprivate static final doubleprivate static final doubleprivate static final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidcheckLocked(RangingAndRssiRadioSourceEstimator<WifiAccessPoint, com.irurueta.geometry.Point3D> estimator) voidonEstimateEnd(RangingAndRssiRadioSourceEstimator<WifiAccessPoint, com.irurueta.geometry.Point3D> estimator) voidonEstimateStart(RangingAndRssiRadioSourceEstimator<WifiAccessPoint, com.irurueta.geometry.Point3D> estimator) private static doublereceivedPower(double equivalentTransmittedPower, double distance, double frequency, double pathLossExponent) private voidreset()(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(package private) void
-
Field Details
-
LOGGER
-
FREQUENCY
private static final double FREQUENCY- See Also:
-
MIN_READINGS
private static final int MIN_READINGS- See Also:
-
MAX_READINGS
private static final int MAX_READINGS- See Also:
-
MIN_POS
private static final double MIN_POS- See Also:
-
MAX_POS
private static final double MAX_POS- See Also:
-
MIN_RSSI
private static final double MIN_RSSI- See Also:
-
MAX_RSSI
private static final double MAX_RSSI- See Also:
-
MIN_PATH_LOSS_EXPONENT
private static final double MIN_PATH_LOSS_EXPONENT- See Also:
-
MAX_PATH_LOSS_EXPONENT
private static final double MAX_PATH_LOSS_EXPONENT- See Also:
-
ERROR_STD
private static final double ERROR_STD- See Also:
-
ABSOLUTE_ERROR
private static final double ABSOLUTE_ERROR- See Also:
-
LARGE_POSITION_ERROR
private static final double LARGE_POSITION_ERROR- See Also:
-
LARGE_POWER_ERROR
private static final double LARGE_POWER_ERROR- See Also:
-
PATH_LOSS_ERROR
private static final double PATH_LOSS_ERROR- See Also:
-
SPEED_OF_LIGHT
private static final double SPEED_OF_LIGHT- See Also:
-
TIMES
private static final int TIMES- See Also:
-
estimateStart
private int estimateStart -
estimateEnd
private int estimateEnd
-
-
Constructor Details
-
RangingAndRssiRadioSourceEstimator3DTest
RangingAndRssiRadioSourceEstimator3DTest()
-
-
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
-
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
-
testIsSetHomogeneousRangingLinearSolverUsed
@Test void testIsSetHomogeneousRangingLinearSolverUsed() 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.LockedExceptioncom.irurueta.navigation.NotReadyExceptionIndoorExceptioncom.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.LockedExceptioncom.irurueta.navigation.NotReadyExceptionIndoorExceptioncom.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.LockedExceptioncom.irurueta.navigation.NotReadyExceptionIndoorExceptioncom.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.LockedExceptioncom.irurueta.navigation.NotReadyExceptionIndoorExceptioncom.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.LockedExceptioncom.irurueta.navigation.NotReadyExceptionIndoorExceptioncom.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.LockedExceptioncom.irurueta.navigation.NotReadyExceptionIndoorExceptioncom.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.LockedExceptioncom.irurueta.navigation.NotReadyExceptionIndoorExceptioncom.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.LockedExceptioncom.irurueta.navigation.NotReadyExceptionIndoorExceptioncom.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.LockedExceptioncom.irurueta.navigation.NotReadyExceptionIndoorExceptioncom.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.LockedExceptioncom.irurueta.navigation.NotReadyExceptionIndoorExceptioncom.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.LockedExceptioncom.irurueta.navigation.NotReadyExceptionIndoorExceptioncom.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.LockedExceptioncom.irurueta.navigation.NotReadyExceptionIndoorExceptioncom.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.LockedExceptioncom.irurueta.navigation.NotReadyExceptionIndoorExceptioncom.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.LockedExceptioncom.irurueta.navigation.NotReadyExceptionIndoorExceptioncom.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.LockedExceptioncom.irurueta.navigation.NotReadyExceptionIndoorExceptioncom.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.LockedExceptioncom.irurueta.navigation.NotReadyExceptionIndoorExceptioncom.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.LockedExceptioncom.irurueta.navigation.NotReadyExceptionIndoorExceptioncom.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.LockedExceptioncom.irurueta.navigation.NotReadyExceptionIndoorExceptioncom.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.LockedExceptioncom.irurueta.navigation.NotReadyExceptionIndoorExceptioncom.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.LockedExceptioncom.irurueta.navigation.NotReadyExceptionIndoorExceptioncom.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.LockedExceptioncom.irurueta.navigation.NotReadyExceptionIndoorExceptioncom.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.LockedExceptioncom.irurueta.navigation.NotReadyExceptionIndoorExceptioncom.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.LockedExceptioncom.irurueta.navigation.NotReadyExceptionIndoorExceptioncom.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.LockedExceptioncom.irurueta.navigation.NotReadyExceptionIndoorExceptioncom.irurueta.algebra.AlgebraException
-
testEstimateWithHomogeneousRangingLinearSolver
@Test void testEstimateWithHomogeneousRangingLinearSolver() throws com.irurueta.navigation.LockedException, com.irurueta.navigation.NotReadyException, com.irurueta.algebra.AlgebraException- Throws:
com.irurueta.navigation.LockedExceptioncom.irurueta.navigation.NotReadyExceptioncom.irurueta.algebra.AlgebraException
-
testEstimateWithInhomogeneousRangingLinearSolver
@Test void testEstimateWithInhomogeneousRangingLinearSolver() throws com.irurueta.navigation.LockedException, com.irurueta.navigation.NotReadyException, com.irurueta.algebra.AlgebraException- Throws:
com.irurueta.navigation.LockedExceptioncom.irurueta.navigation.NotReadyExceptioncom.irurueta.algebra.AlgebraException
-
reset
private void reset() -
receivedPower
private static double receivedPower(double equivalentTransmittedPower, double distance, double frequency, double pathLossExponent)
-