Class WifiAccessPointLocated<P extends com.irurueta.geometry.Point<?>>

java.lang.Object
com.irurueta.navigation.indoor.WifiAccessPoint
com.irurueta.navigation.indoor.WifiAccessPointLocated<P>
Type Parameters:
P - a Point type.
All Implemented Interfaces:
RadioSource, RadioSourceLocated<P>, Serializable
Direct Known Subclasses:
WifiAccessPointLocated2D, WifiAccessPointLocated3D

public abstract class WifiAccessPointLocated<P extends com.irurueta.geometry.Point<?>> extends WifiAccessPoint implements RadioSourceLocated<P>
Data related to a Wi-Fi access point whose location is known.
See Also:
  • Field Details

    • position

      private P extends com.irurueta.geometry.Point<?> position
      Position where access point is located.
    • positionCovariance

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

    • WifiAccessPointLocated

      protected WifiAccessPointLocated(String bssid, double frequency, P position)
      Constructor.
      Parameters:
      bssid - basic service set identifier of this access point in the form of a six-byte MAC address: xx:xx:xx:xx:xx:xx.
      frequency - frequency used by this Access Point (expressed in Hz).
      position - position where access point is located.
      Throws:
      IllegalArgumentException - if either BSSID or position are null or frequency is negative.
    • WifiAccessPointLocated

      protected WifiAccessPointLocated(String bssid, double frequency, String ssid, P position)
      Constructor.
      Parameters:
      bssid - basic service set identifier of this access point in the form of a six-byte MAC address: xx:xx:xx:xx:xx:xx.
      frequency - frequency used by this Access Point (expressed in Hz).
      ssid - service set identifier (SSID) of this 802.11 network.
      position - position where access point is located.
      Throws:
      IllegalArgumentException - if either BSSID or position are null or frequency is negative.
    • WifiAccessPointLocated

      protected WifiAccessPointLocated(String bssid, double frequency, P position, com.irurueta.algebra.Matrix positionCovariance)
      Constructor.
      Parameters:
      bssid - basic service set identifier of this access point in the form of a six-byte MAC address: xx:xx:xx:xx:xx:xx.
      frequency - frequency used by this Access Point (expressed in Hz).
      position - position where access point is located.
      positionCovariance - covariance of inhomogeneous coordinates of current position (if available).
      Throws:
      IllegalArgumentException - if either BSSID or position are null or frequency is negative, or covariance does not have proper size.
    • WifiAccessPointLocated

      protected WifiAccessPointLocated(String bssid, double frequency, String ssid, P position, com.irurueta.algebra.Matrix positionCovariance)
      Constructor.
      Parameters:
      bssid - basic service set identifier of this access point in the form of a six-byte MAC address: xx:xx:xx:xx:xx:xx.
      frequency - frequency used by this Access Point (expressed in Hz).
      ssid - service set identifier (SSID) of this 802.11 network.
      position - position where access point is located.
      positionCovariance - covariance of inhomogeneous coordinates of current position (if available).
      Throws:
      IllegalArgumentException - if either BSSID or position are null or frequency is negative, or covariance does not have proper size.
    • WifiAccessPointLocated

      protected WifiAccessPointLocated()
      Empty constructor.
  • Method Details

    • getPosition

      public P getPosition()
      Gets position where access point is located.
      Specified by:
      getPosition in interface RadioSourceLocated<P extends com.irurueta.geometry.Point<?>>
      Returns:
      position where access point is located.
    • getPositionCovariance

      public com.irurueta.algebra.Matrix getPositionCovariance()
      Gets covariance of inhomogeneous coordinates of current position (if available).
      Specified by:
      getPositionCovariance in interface RadioSourceLocated<P extends com.irurueta.geometry.Point<?>>
      Returns:
      covariance of position or null.