Package com.irurueta.navigation.indoor
Class RssiReadingLocated<S extends RadioSource,P extends com.irurueta.geometry.Point<?>>
java.lang.Object
com.irurueta.navigation.indoor.Reading<S>
com.irurueta.navigation.indoor.RssiReading<S>
com.irurueta.navigation.indoor.RssiReadingLocated<S,P>
- Type Parameters:
S- aRadioSourcetype.P- aPointtype.
- All Implemented Interfaces:
ReadingLocated<P>,Serializable
- Direct Known Subclasses:
RssiReadingLocated2D,RssiReadingLocated3D
public class RssiReadingLocated<S extends RadioSource,P extends com.irurueta.geometry.Point<?>>
extends RssiReading<S>
implements ReadingLocated<P>
Contains a located signal strength reading associated to a given radio source
(e.g. Wi-Fi access point or bluetooth beacon).
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate PPosition where radio source reading was made.private com.irurueta.algebra.MatrixCovariance of inhomogeneous coordinates of current position (if available). -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedEmpty constructor.RssiReadingLocated(S source, double rssi, P position) Constructor.RssiReadingLocated(S source, double rssi, P position, com.irurueta.algebra.Matrix positionCovariance) Constructor.RssiReadingLocated(S source, double rssi, P position, Double rssiStandardDeviation) Constructor.RssiReadingLocated(S source, double rssi, P position, Double rssiStandardDeviation, com.irurueta.algebra.Matrix positionCovariance) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGets position where reading was made.com.irurueta.algebra.MatrixGets covariance of inhomogeneous coordinates of current position (if available).Methods inherited from class com.irurueta.navigation.indoor.RssiReading
getRssi, getRssiStandardDeviation, getTypeMethods inherited from class com.irurueta.navigation.indoor.Reading
getSource, hasSameSource
-
Field Details
-
position
Position where radio source reading was made. -
positionCovariance
private com.irurueta.algebra.Matrix positionCovarianceCovariance of inhomogeneous coordinates of current position (if available).
-
-
Constructor Details
-
RssiReadingLocated
Constructor.- Parameters:
source- radio source associated to this reading.rssi- received signal strength indicator in dBm.position- position where reading was made.- Throws:
IllegalArgumentException- if either radio source data or position are null.
-
RssiReadingLocated
Constructor.- Parameters:
source- radio source associated to this reading.rssi- received signal strength indicator in dBm.position- position where reading was made.rssiStandardDeviation- standard deviation of RSSI, if available.- Throws:
IllegalArgumentException- if either radio source data or position are null.
-
RssiReadingLocated
public RssiReadingLocated(S source, double rssi, P position, com.irurueta.algebra.Matrix positionCovariance) Constructor.- Parameters:
source- radio source associated to this reading.rssi- received signal strength indicator in dBm.position- position where reading was made.positionCovariance- covariance of inhomogeneous coordinates of current position (if available).- Throws:
IllegalArgumentException- if either radio source or position are null, or covariance has invalid size.
-
RssiReadingLocated
public RssiReadingLocated(S source, double rssi, P position, Double rssiStandardDeviation, com.irurueta.algebra.Matrix positionCovariance) Constructor.- Parameters:
source- radio source associated to this reading.rssi- received signal strength indicator in dBm.position- position where reading was made.rssiStandardDeviation- standard deviation of RSSI, if available.positionCovariance- covariance of inhomogeneous coordinates of current position (if available).- Throws:
IllegalArgumentException- if either radio source or position are null, or covariance has invalid size.
-
RssiReadingLocated
protected RssiReadingLocated()Empty constructor.
-
-
Method Details
-
getPosition
Gets position where reading was made.- Specified by:
getPositionin interfaceReadingLocated<S extends RadioSource>- Returns:
- position where reading was made.
-
getPositionCovariance
public com.irurueta.algebra.Matrix getPositionCovariance()Gets covariance of inhomogeneous coordinates of current position (if available).- Specified by:
getPositionCovariancein interfaceReadingLocated<S extends RadioSource>- Returns:
- covariance of position or null.
-