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 - a RadioSource type.
P - a Point type.
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 Details

    • position

      private P extends com.irurueta.geometry.Point<?> position
      Position where radio source reading was made.
    • positionCovariance

      private com.irurueta.algebra.Matrix positionCovariance
      Covariance of inhomogeneous coordinates of current position (if available).
  • Constructor Details

    • RssiReadingLocated

      public RssiReadingLocated(S source, double rssi, P position)
      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

      public RssiReadingLocated(S source, double rssi, P position, Double rssiStandardDeviation)
      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

      public P getPosition()
      Gets position where reading was made.
      Specified by:
      getPosition in interface ReadingLocated<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:
      getPositionCovariance in interface ReadingLocated<S extends RadioSource>
      Returns:
      covariance of position or null.