Class SequentialRobustRangingAndRssiRadioSourceEstimator3D<S extends RadioSource>
- Type Parameters:
S- aRadioSourcetype.
Implementations of this class sequentially estimate position and then remaining parameters. First ranging data is used to robustly estimate position and then remaining parameters are robustly estimated using former estimated position as an initial guess.
Because usually information about the antenna of the radio source cannot be retrieved (because many measurements are made on unknown devices where physical access is not possible), this implementation will estimate the equivalent transmitted power as: Pte = Pt * Gt * Gr. If Readings contain RSSI standard deviations, those values will be used, otherwise it will be assumed an RSSI standard deviation of 1 dB.
Implementations of this class might produce more stable positions of estimated radio sources than implementations of RobustRangingAndRssiRadioSourceEstimator3D.
-
Field Summary
Fields inherited from class com.irurueta.navigation.indoor.radiosource.SequentialRobustRangingAndRssiRadioSourceEstimator
DEFAULT_CONFIDENCE, DEFAULT_KEEP_COVARIANCE, DEFAULT_MAX_ITERATIONS, DEFAULT_PANGING_ROBUST_METHOD, DEFAULT_PROGRESS_DELTA, DEFAULT_REFINE_RESULT, DEFAULT_RSSI_ROBUST_METHOD, DEFAULT_USE_READING_POSITION_COVARIANCES, MAX_CONFIDENCE, MAX_PROGRESS_DELTA, MIN_CONFIDENCE, MIN_ITERATIONS, MIN_PROGRESS_DELTA, rangingEstimator, rangingPreliminarySubsetSize, rangingRobustMethod, rangingThreshold, rssiEstimator, rssiPreliminarySubsetSize, rssiRobustMethod, rssiThreshold -
Constructor Summary
ConstructorsConstructorDescriptionConstructor.SequentialRobustRangingAndRssiRadioSourceEstimator3D(double[] qualityScores) Constructor.SequentialRobustRangingAndRssiRadioSourceEstimator3D(double[] qualityScores, com.irurueta.geometry.Point3D initialPosition) Constructor.SequentialRobustRangingAndRssiRadioSourceEstimator3D(double[] qualityScores, com.irurueta.geometry.Point3D initialPosition, SequentialRobustRangingAndRssiRadioSourceEstimatorListener<S, com.irurueta.geometry.Point3D> listener) Constructor.SequentialRobustRangingAndRssiRadioSourceEstimator3D(double[] qualityScores, com.irurueta.geometry.Point3D initialPosition, Double initialTransmittedPowerdBm) Constructor.SequentialRobustRangingAndRssiRadioSourceEstimator3D(double[] qualityScores, com.irurueta.geometry.Point3D initialPosition, Double initialTransmittedPowerdBm, double initialPathLossExponent) Constructor.SequentialRobustRangingAndRssiRadioSourceEstimator3D(double[] qualityScores, com.irurueta.geometry.Point3D initialPosition, Double initialTransmittedPowerdBm, double initialPathLossExponent, SequentialRobustRangingAndRssiRadioSourceEstimatorListener<S, com.irurueta.geometry.Point3D> listener) Constructor.SequentialRobustRangingAndRssiRadioSourceEstimator3D(double[] qualityScores, com.irurueta.geometry.Point3D initialPosition, Double initialTransmittedPowerdBm, SequentialRobustRangingAndRssiRadioSourceEstimatorListener<S, com.irurueta.geometry.Point3D> listener) Constructor.SequentialRobustRangingAndRssiRadioSourceEstimator3D(double[] qualityScores, SequentialRobustRangingAndRssiRadioSourceEstimatorListener<S, com.irurueta.geometry.Point3D> listener) Constructor.SequentialRobustRangingAndRssiRadioSourceEstimator3D(double[] qualityScores, Double initialTransmittedPowerdBm) Constructor.SequentialRobustRangingAndRssiRadioSourceEstimator3D(double[] qualityScores, Double initialTransmittedPowerdBm, SequentialRobustRangingAndRssiRadioSourceEstimatorListener<S, com.irurueta.geometry.Point3D> listener) Constructor.SequentialRobustRangingAndRssiRadioSourceEstimator3D(double[] qualityScores, List<? extends RangingAndRssiReadingLocated<S, com.irurueta.geometry.Point3D>> readings) Constructor.SequentialRobustRangingAndRssiRadioSourceEstimator3D(double[] qualityScores, List<? extends RangingAndRssiReadingLocated<S, com.irurueta.geometry.Point3D>> readings, com.irurueta.geometry.Point3D initialPosition) Constructor.SequentialRobustRangingAndRssiRadioSourceEstimator3D(double[] qualityScores, List<? extends RangingAndRssiReadingLocated<S, com.irurueta.geometry.Point3D>> readings, com.irurueta.geometry.Point3D initialPosition, SequentialRobustRangingAndRssiRadioSourceEstimatorListener<S, com.irurueta.geometry.Point3D> listener) Constructor.SequentialRobustRangingAndRssiRadioSourceEstimator3D(double[] qualityScores, List<? extends RangingAndRssiReadingLocated<S, com.irurueta.geometry.Point3D>> readings, com.irurueta.geometry.Point3D initialPosition, Double initialTransmittedPowerdBm) Constructor.SequentialRobustRangingAndRssiRadioSourceEstimator3D(double[] qualityScores, List<? extends RangingAndRssiReadingLocated<S, com.irurueta.geometry.Point3D>> readings, com.irurueta.geometry.Point3D initialPosition, Double initialTransmittedPowerdBm, double initialPathLossExponent) Constructor.SequentialRobustRangingAndRssiRadioSourceEstimator3D(double[] qualityScores, List<? extends RangingAndRssiReadingLocated<S, com.irurueta.geometry.Point3D>> readings, com.irurueta.geometry.Point3D initialPosition, Double initialTransmittedPowerdBm, double initialPathLossExponent, SequentialRobustRangingAndRssiRadioSourceEstimatorListener<S, com.irurueta.geometry.Point3D> listener) Constructors.SequentialRobustRangingAndRssiRadioSourceEstimator3D(double[] qualityScores, List<? extends RangingAndRssiReadingLocated<S, com.irurueta.geometry.Point3D>> readings, com.irurueta.geometry.Point3D initialPosition, Double initialTransmittedPowerdBm, SequentialRobustRangingAndRssiRadioSourceEstimatorListener<S, com.irurueta.geometry.Point3D> listener) Constructor.SequentialRobustRangingAndRssiRadioSourceEstimator3D(double[] qualityScores, List<? extends RangingAndRssiReadingLocated<S, com.irurueta.geometry.Point3D>> readings, SequentialRobustRangingAndRssiRadioSourceEstimatorListener<S, com.irurueta.geometry.Point3D> listener) Constructor.SequentialRobustRangingAndRssiRadioSourceEstimator3D(double[] qualityScores, List<? extends RangingAndRssiReadingLocated<S, com.irurueta.geometry.Point3D>> readings, Double initialTransmittedPowerdBm) Constructor.SequentialRobustRangingAndRssiRadioSourceEstimator3D(double[] qualityScores, List<? extends RangingAndRssiReadingLocated<S, com.irurueta.geometry.Point3D>> readings, Double initialTransmittedPowerdBm, SequentialRobustRangingAndRssiRadioSourceEstimatorListener<S, com.irurueta.geometry.Point3D> listener) Constructor.SequentialRobustRangingAndRssiRadioSourceEstimator3D(com.irurueta.geometry.Point3D initialPosition) Constructor.SequentialRobustRangingAndRssiRadioSourceEstimator3D(com.irurueta.geometry.Point3D initialPosition, SequentialRobustRangingAndRssiRadioSourceEstimatorListener<S, com.irurueta.geometry.Point3D> listener) Constructor.SequentialRobustRangingAndRssiRadioSourceEstimator3D(com.irurueta.geometry.Point3D initialPosition, Double initialTransmittedPowerdBm) Constructor.SequentialRobustRangingAndRssiRadioSourceEstimator3D(com.irurueta.geometry.Point3D initialPosition, Double initialTransmittedPowerdBm, double initialPathLossExponent) Constructor.SequentialRobustRangingAndRssiRadioSourceEstimator3D(com.irurueta.geometry.Point3D initialPosition, Double initialTransmittedPowerdBm, double initialPathLossExponent, SequentialRobustRangingAndRssiRadioSourceEstimatorListener<S, com.irurueta.geometry.Point3D> listener) Constructor.SequentialRobustRangingAndRssiRadioSourceEstimator3D(com.irurueta.geometry.Point3D initialPosition, Double initialTransmittedPowerdBm, SequentialRobustRangingAndRssiRadioSourceEstimatorListener<S, com.irurueta.geometry.Point3D> listener) Constructor.SequentialRobustRangingAndRssiRadioSourceEstimator3D(SequentialRobustRangingAndRssiRadioSourceEstimatorListener<S, com.irurueta.geometry.Point3D> listener) Constructor.SequentialRobustRangingAndRssiRadioSourceEstimator3D(Double initialTransmittedPowerdBm) Constructor.SequentialRobustRangingAndRssiRadioSourceEstimator3D(Double initialTransmittedPowerdBm, SequentialRobustRangingAndRssiRadioSourceEstimatorListener<S, com.irurueta.geometry.Point3D> listener) Constructor.SequentialRobustRangingAndRssiRadioSourceEstimator3D(List<? extends RangingAndRssiReadingLocated<S, com.irurueta.geometry.Point3D>> readings) Constructor.SequentialRobustRangingAndRssiRadioSourceEstimator3D(List<? extends RangingAndRssiReadingLocated<S, com.irurueta.geometry.Point3D>> readings, com.irurueta.geometry.Point3D initialPosition) Constructor.SequentialRobustRangingAndRssiRadioSourceEstimator3D(List<? extends RangingAndRssiReadingLocated<S, com.irurueta.geometry.Point3D>> readings, com.irurueta.geometry.Point3D initialPosition, SequentialRobustRangingAndRssiRadioSourceEstimatorListener<S, com.irurueta.geometry.Point3D> listener) Constructor.SequentialRobustRangingAndRssiRadioSourceEstimator3D(List<? extends RangingAndRssiReadingLocated<S, com.irurueta.geometry.Point3D>> readings, com.irurueta.geometry.Point3D initialPosition, Double initialTransmittedPowerdBm) Constructor.SequentialRobustRangingAndRssiRadioSourceEstimator3D(List<? extends RangingAndRssiReadingLocated<S, com.irurueta.geometry.Point3D>> readings, com.irurueta.geometry.Point3D initialPosition, Double initialTransmittedPowerdBm, double initialPathLossExponent) Constructor.SequentialRobustRangingAndRssiRadioSourceEstimator3D(List<? extends RangingAndRssiReadingLocated<S, com.irurueta.geometry.Point3D>> readings, com.irurueta.geometry.Point3D initialPosition, Double initialTransmittedPowerdBm, double initialPathLossExponent, SequentialRobustRangingAndRssiRadioSourceEstimatorListener<S, com.irurueta.geometry.Point3D> listener) Constructors.SequentialRobustRangingAndRssiRadioSourceEstimator3D(List<? extends RangingAndRssiReadingLocated<S, com.irurueta.geometry.Point3D>> readings, com.irurueta.geometry.Point3D initialPosition, Double initialTransmittedPowerdBm, SequentialRobustRangingAndRssiRadioSourceEstimatorListener<S, com.irurueta.geometry.Point3D> listener) Constructor.SequentialRobustRangingAndRssiRadioSourceEstimator3D(List<? extends RangingAndRssiReadingLocated<S, com.irurueta.geometry.Point3D>> readings, SequentialRobustRangingAndRssiRadioSourceEstimatorListener<S, com.irurueta.geometry.Point3D> listener) Constructor.SequentialRobustRangingAndRssiRadioSourceEstimator3D(List<? extends RangingAndRssiReadingLocated<S, com.irurueta.geometry.Point3D>> readings, Double initialTransmittedPowerdBm) Constructor.SequentialRobustRangingAndRssiRadioSourceEstimator3D(List<? extends RangingAndRssiReadingLocated<S, com.irurueta.geometry.Point3D>> readings, Double initialTransmittedPowerdBm, SequentialRobustRangingAndRssiRadioSourceEstimatorListener<S, com.irurueta.geometry.Point3D> listener) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidBuilds ranging estimator.protected voidBuild RSSI estimator.RadioSourceWithPowerAndLocated<com.irurueta.geometry.Point3D> Gets estimated located radio source with estimated transmitted power.intGets minimum required number of readings to estimate power, position and path-loss exponent.intGets number of dimensions of position points.protected voidSetups ranging estimator.protected voidSetups RSSI estimator.Methods inherited from class com.irurueta.navigation.indoor.radiosource.SequentialRobustRangingAndRssiRadioSourceEstimator
areValidReadings, estimate, getCovariance, getEstimatedPathLossExponent, getEstimatedPathLossExponentVariance, getEstimatedPosition, getEstimatedPositionCovariance, getEstimatedTransmittedPower, getEstimatedTransmittedPowerdBm, getEstimatedTransmittedPowerVariance, getInitialPathLossExponent, getInitialPosition, getInitialTransmittedPower, getInitialTransmittedPowerdBm, getInliersData, getListener, getProgressDelta, getQualityScores, getRangingConfidence, getRangingMaxIterations, getRangingPreliminarySubsetSize, getRangingRobustMethod, getRangingThreshold, getReadings, getRssiConfidence, getRssiMaxIterations, getRssiPreliminarySubsetSize, getRssiRobustMethod, getRssiThreshold, getUseReadingPositionCovariance, isCovarianceKept, isHomogeneousRangingLinearSolverUsed, isLocked, isPathLossEstimationEnabled, isReady, isResultRefined, isTransmittedPowerEstimationEnabled, setCovarianceKept, setHomogeneousRangingLinearSolverUsed, setInitialPathLossExponent, setInitialPosition, setInitialTransmittedPower, setInitialTransmittedPowerdBm, setListener, setPathLossEstimationEnabled, setProgressDelta, setQualityScores, setRangingConfidence, setRangingMaxIterations, setRangingPreliminarySubsetSize, setRangingRobustMethod, setRangingThreshold, setReadings, setResultRefined, setRssiConfidence, setRssiMaxIterations, setRssiPreliminarySubsetSize, setRssiRobustMethod, setRssiThreshold, setTransmittedPowerEstimationEnabled, setUseReadingPositionCovariances
-
Constructor Details
-
SequentialRobustRangingAndRssiRadioSourceEstimator3D
public SequentialRobustRangingAndRssiRadioSourceEstimator3D()Constructor. -
SequentialRobustRangingAndRssiRadioSourceEstimator3D
public SequentialRobustRangingAndRssiRadioSourceEstimator3D(List<? extends RangingAndRssiReadingLocated<S, com.irurueta.geometry.Point3D>> readings) Constructor. Sets signal readings belonging to the same radio source.- Parameters:
readings- signal readings belonging to the same radio source.- Throws:
IllegalArgumentException- if readings are not valid.
-
SequentialRobustRangingAndRssiRadioSourceEstimator3D
public SequentialRobustRangingAndRssiRadioSourceEstimator3D(List<? extends RangingAndRssiReadingLocated<S, com.irurueta.geometry.Point3D>> readings, com.irurueta.geometry.Point3D initialPosition) Constructor. Sets signal readings belonging to the same radio source.- Parameters:
readings- signal readings belonging to the same radio source.initialPosition- initial position to start the estimation of radio source position.- Throws:
IllegalArgumentException- if readings are not valid.
-
SequentialRobustRangingAndRssiRadioSourceEstimator3D
public SequentialRobustRangingAndRssiRadioSourceEstimator3D(com.irurueta.geometry.Point3D initialPosition) Constructor.- Parameters:
initialPosition- initial position to start the estimation of radio source position.
-
SequentialRobustRangingAndRssiRadioSourceEstimator3D
Constructor.- Parameters:
initialTransmittedPowerdBm- initial transmitted power to start the estimation of radio source transmitted power (expressed in dBm's).
-
SequentialRobustRangingAndRssiRadioSourceEstimator3D
public SequentialRobustRangingAndRssiRadioSourceEstimator3D(List<? extends RangingAndRssiReadingLocated<S, com.irurueta.geometry.Point3D>> readings, Double initialTransmittedPowerdBm) Constructor. Sets signal readings belonging to the same radio source.- Parameters:
readings- signal readings belonging to the same radio source.initialTransmittedPowerdBm- initial transmitted power to start the estimation of radio source transmitted power (expressed in dBm's).- Throws:
IllegalArgumentException- if readings are not valid.
-
SequentialRobustRangingAndRssiRadioSourceEstimator3D
public SequentialRobustRangingAndRssiRadioSourceEstimator3D(List<? extends RangingAndRssiReadingLocated<S, com.irurueta.geometry.Point3D>> readings, com.irurueta.geometry.Point3D initialPosition, Double initialTransmittedPowerdBm) Constructor. Sets signal readings belonging to the same radio source.- Parameters:
readings- signal readings belonging to the same radio source.initialPosition- initial position to start the estimation of radio source position.initialTransmittedPowerdBm- initial transmitted power to start the estimation of radio source transmitted power (expressed in dBm's).- Throws:
IllegalArgumentException- if readings are not valid.
-
SequentialRobustRangingAndRssiRadioSourceEstimator3D
public SequentialRobustRangingAndRssiRadioSourceEstimator3D(com.irurueta.geometry.Point3D initialPosition, Double initialTransmittedPowerdBm) Constructor.- Parameters:
initialPosition- initial position to start the estimation of radio source position.initialTransmittedPowerdBm- initial transmitted power to start the estimation of radio source transmitted power (expressed in dBm's).
-
SequentialRobustRangingAndRssiRadioSourceEstimator3D
public SequentialRobustRangingAndRssiRadioSourceEstimator3D(List<? extends RangingAndRssiReadingLocated<S, com.irurueta.geometry.Point3D>> readings, com.irurueta.geometry.Point3D initialPosition, Double initialTransmittedPowerdBm, double initialPathLossExponent) Constructor. Sets signal readings belonging to the same radio source.- Parameters:
readings- signal readings belonging to the same radio source.initialPosition- initial position to start the estimation of radio source position.initialTransmittedPowerdBm- initial transmitted power to start the estimation of radio source transmitted power (expressed in dBm's).initialPathLossExponent- initial path loss exponent. A typical value is 2.0.- Throws:
IllegalArgumentException- if readings are not valid.
-
SequentialRobustRangingAndRssiRadioSourceEstimator3D
public SequentialRobustRangingAndRssiRadioSourceEstimator3D(com.irurueta.geometry.Point3D initialPosition, Double initialTransmittedPowerdBm, double initialPathLossExponent) Constructor.- Parameters:
initialPosition- initial position to start the estimation of radio source position.initialTransmittedPowerdBm- initial transmitted power to start the estimation of radio source transmitted power (expressed in dBm's).initialPathLossExponent- initial path loss exponent. A typical value is 2.0.
-
SequentialRobustRangingAndRssiRadioSourceEstimator3D
public SequentialRobustRangingAndRssiRadioSourceEstimator3D(double[] qualityScores) Constructor.- Parameters:
qualityScores- quality scores corresponding to each provided sample. The larger the score value the better the quality of the sample.- Throws:
IllegalArgumentException- if quality scores is null, or length of quality scores is less than required minimum.
-
SequentialRobustRangingAndRssiRadioSourceEstimator3D
public SequentialRobustRangingAndRssiRadioSourceEstimator3D(double[] qualityScores, List<? extends RangingAndRssiReadingLocated<S, com.irurueta.geometry.Point3D>> readings) Constructor. Sets signal readings belonging to the same radio source.- Parameters:
qualityScores- quality scores corresponding to each provided sample. The larger the score value the better the quality of the sample.readings- signal readings belonging to the same radio source.- Throws:
IllegalArgumentException- if readings are not valid, quality scores is null, or length of quality scores is less than required minimum.
-
SequentialRobustRangingAndRssiRadioSourceEstimator3D
public SequentialRobustRangingAndRssiRadioSourceEstimator3D(double[] qualityScores, List<? extends RangingAndRssiReadingLocated<S, com.irurueta.geometry.Point3D>> readings, com.irurueta.geometry.Point3D initialPosition) Constructor. Sets signal readings belonging to the same radio source.- Parameters:
qualityScores- quality scores corresponding to each provided sample. The larger the score value the better the quality of the sample.readings- signal readings belonging to the same radio source.initialPosition- initial position to start the estimation of radio source position.- Throws:
IllegalArgumentException- if readings are not valid, quality scores is null, or length of quality scores is less than required minimum.
-
SequentialRobustRangingAndRssiRadioSourceEstimator3D
public SequentialRobustRangingAndRssiRadioSourceEstimator3D(double[] qualityScores, com.irurueta.geometry.Point3D initialPosition) Constructor.- Parameters:
qualityScores- quality scores corresponding to each provided sample. The larger the score value the better the quality of the sample.initialPosition- initial position to start the estimation of radio source position.- Throws:
IllegalArgumentException- if quality scores is null, or length of quality scores is less than required minimum.
-
SequentialRobustRangingAndRssiRadioSourceEstimator3D
public SequentialRobustRangingAndRssiRadioSourceEstimator3D(double[] qualityScores, Double initialTransmittedPowerdBm) Constructor.- Parameters:
qualityScores- quality scores corresponding to each provided sample. The larger the score value the better the quality of the sample.initialTransmittedPowerdBm- initial transmitted power to start the estimation of radio source transmitted power (expressed in dBm's).- Throws:
IllegalArgumentException- if quality scores is null, or length of quality scores is less than required minimum.
-
SequentialRobustRangingAndRssiRadioSourceEstimator3D
public SequentialRobustRangingAndRssiRadioSourceEstimator3D(double[] qualityScores, List<? extends RangingAndRssiReadingLocated<S, com.irurueta.geometry.Point3D>> readings, Double initialTransmittedPowerdBm) Constructor. Sets signal readings belonging to the same radio source.- Parameters:
qualityScores- quality scores corresponding to each provided sample. The larger the score value the better the quality of the sample.readings- signal readings belonging to the same radio source.initialTransmittedPowerdBm- initial transmitted power to start the estimation of radio source transmitted power (expressed in dBm's).- Throws:
IllegalArgumentException- if readings are not valid, quality scores is null, or length of quality scores is less than required minimum.
-
SequentialRobustRangingAndRssiRadioSourceEstimator3D
public SequentialRobustRangingAndRssiRadioSourceEstimator3D(double[] qualityScores, List<? extends RangingAndRssiReadingLocated<S, com.irurueta.geometry.Point3D>> readings, com.irurueta.geometry.Point3D initialPosition, Double initialTransmittedPowerdBm) Constructor. Sets signal readings belonging to the same radio source.- Parameters:
qualityScores- quality scores corresponding to each provided sample. The larger the score value the better the quality of the sample.readings- signal readings belonging to the same radio source.initialPosition- initial position to start the estimation of radio source position.initialTransmittedPowerdBm- initial transmitted power to start the estimation of radio source transmitted power (expressed in dBm's).- Throws:
IllegalArgumentException- if readings are not valid, quality scores is null, or length of quality scores is less than required minimum.
-
SequentialRobustRangingAndRssiRadioSourceEstimator3D
public SequentialRobustRangingAndRssiRadioSourceEstimator3D(double[] qualityScores, com.irurueta.geometry.Point3D initialPosition, Double initialTransmittedPowerdBm) Constructor.- Parameters:
qualityScores- quality scores corresponding to each provided sample. The larger the score value the better the quality of the sample.initialPosition- initial position to start the estimation of radio source position.initialTransmittedPowerdBm- initial transmitted power to start the estimation of radio source transmitted power (expressed in dBm's).- Throws:
IllegalArgumentException- if quality scores is null, or length of quality scores is less than required minimum.
-
SequentialRobustRangingAndRssiRadioSourceEstimator3D
public SequentialRobustRangingAndRssiRadioSourceEstimator3D(double[] qualityScores, List<? extends RangingAndRssiReadingLocated<S, com.irurueta.geometry.Point3D>> readings, com.irurueta.geometry.Point3D initialPosition, Double initialTransmittedPowerdBm, double initialPathLossExponent) Constructor. Sets signal readings belonging to the same radio source.- Parameters:
qualityScores- quality scores corresponding to each provided sample. The larger the score value the better the quality of the sample.readings- signal readings belonging to the same radio source.initialPosition- initial position to start the estimation of radio source position.initialTransmittedPowerdBm- initial transmitted power to start the estimation of radio source transmitted power (expressed in dBm's).initialPathLossExponent- initial path loss exponent. A typical value is 2.0.- Throws:
IllegalArgumentException- if readings are not valid, quality scores is null, or length of quality scores is less than required minimum.
-
SequentialRobustRangingAndRssiRadioSourceEstimator3D
public SequentialRobustRangingAndRssiRadioSourceEstimator3D(double[] qualityScores, com.irurueta.geometry.Point3D initialPosition, Double initialTransmittedPowerdBm, double initialPathLossExponent) Constructor.- Parameters:
qualityScores- quality scores corresponding to each provided sample. The larger the score value the better the quality of the sample.initialPosition- initial position to start the estimation of radio source position.initialTransmittedPowerdBm- initial transmitted power to start the estimation of radio source transmitted power (expressed in dBm's).initialPathLossExponent- initial path loss exponent. A typical value is 2.0.- Throws:
IllegalArgumentException- if quality scores is null, or length of quality scores is less than required minimum.
-
-
Method Details
-
getMinReadings
public int getMinReadings()Gets minimum required number of readings to estimate power, position and path-loss exponent. This value depends on the number of parameters to be estimated, but for position only, this is 3 readings.- Specified by:
getMinReadingsin classSequentialRobustRangingAndRssiRadioSourceEstimator<S extends RadioSource,com.irurueta.geometry.Point3D> - Returns:
- minimum required number of readings.
-
getNumberOfDimensions
public int getNumberOfDimensions()Gets number of dimensions of position points.- Specified by:
getNumberOfDimensionsin classSequentialRobustRangingAndRssiRadioSourceEstimator<S extends RadioSource,com.irurueta.geometry.Point3D> - Returns:
- always returns 2 dimensions.
-
getEstimatedRadioSource
Gets estimated located radio source with estimated transmitted power.- Specified by:
getEstimatedRadioSourcein classSequentialRobustRangingAndRssiRadioSourceEstimator<S extends RadioSource,com.irurueta.geometry.Point3D> - Returns:
- estimated located radio source with estimated transmitted power or null.
-
buildRangingEstimatorIfNeeded
protected void buildRangingEstimatorIfNeeded()Builds ranging estimator.- Specified by:
buildRangingEstimatorIfNeededin classSequentialRobustRangingAndRssiRadioSourceEstimator<S extends RadioSource,com.irurueta.geometry.Point3D>
-
buildRssiEstimatorIfNeeded
protected void buildRssiEstimatorIfNeeded() throws com.irurueta.navigation.LockedExceptionBuild RSSI estimator.- Specified by:
buildRssiEstimatorIfNeededin classSequentialRobustRangingAndRssiRadioSourceEstimator<S extends RadioSource,com.irurueta.geometry.Point3D> - Throws:
com.irurueta.navigation.LockedException- if estimator is locked.
-
setupRangingEstimator
protected void setupRangingEstimator() throws com.irurueta.navigation.LockedExceptionSetups ranging estimator.- Overrides:
setupRangingEstimatorin classSequentialRobustRangingAndRssiRadioSourceEstimator<S extends RadioSource,com.irurueta.geometry.Point3D> - Throws:
com.irurueta.navigation.LockedException- if estimator is locked.
-
setupRssiEstimator
protected void setupRssiEstimator() throws com.irurueta.navigation.LockedExceptionSetups RSSI estimator.- Overrides:
setupRssiEstimatorin classSequentialRobustRangingAndRssiRadioSourceEstimator<S extends RadioSource,com.irurueta.geometry.Point3D> - Throws:
com.irurueta.navigation.LockedException- if estimator is locked.
-