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

java.lang.Object
com.irurueta.navigation.indoor.Beacon
com.irurueta.navigation.indoor.BeaconLocated<P>
Type Parameters:
P - a Point type.
All Implemented Interfaces:
RadioSource, RadioSourceLocated<P>, Serializable
Direct Known Subclasses:
BeaconLocated2D, BeaconLocated3D

public class BeaconLocated<P extends com.irurueta.geometry.Point<?>> extends Beacon implements RadioSourceLocated<P>
Data related to a beacon whose location is known.
See Also:
  • Field Details

    • position

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

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

    • BeaconLocated

      public BeaconLocated(List<BeaconIdentifier> identifiers, double transmittedPower, P position)
      Constructor.
      Parameters:
      identifiers - list of the multipart identifiers of the beacon.
      transmittedPower - calibrated measured Tx power of the Beacon in RSSI (expressed in dBm's).
      position - position where beacon is located.
      Throws:
      IllegalArgumentException - if either identifiers or position are null.
    • BeaconLocated

      public BeaconLocated(List<BeaconIdentifier> identifiers, double transmittedPower, String bluetoothAddress, int beaconTypeCode, int manufacturer, int serviceUuid, String bluetoothName, P position)
      Constructor.
      Parameters:
      identifiers - list of the multipart identifiers of the beacon.
      transmittedPower - calibrated measured Tx power of the Beacon in RSSI (expressed in dBm's).
      bluetoothAddress - the bluetooth mac address.
      beaconTypeCode - the two byte value indicating the type of beacon.
      manufacturer - a two byte code indicating the beacon manufacturer.
      serviceUuid - a 32 bit service uuid for the beacon.
      bluetoothName - the bluetooth device name.
      position - position where beacon is located.
      Throws:
      IllegalArgumentException - if either identifiers or position are null.
    • BeaconLocated

      public BeaconLocated(List<BeaconIdentifier> identifiers, double transmittedPower, P position, com.irurueta.algebra.Matrix positionCovariance)
      Constructor.
      Parameters:
      identifiers - list of the multipart identifiers of the beacon.
      transmittedPower - calibrated measured Tx power of the Beacon in RSSI (expressed in dBm's).
      position - position where beacon is located.
      positionCovariance - covariance of inhomogeneous coordinates of current position (if available).
      Throws:
      IllegalArgumentException - if either identifiers or position are null.
    • BeaconLocated

      public BeaconLocated(List<BeaconIdentifier> identifiers, double transmittedPower, String bluetoothAddress, int beaconTypeCode, int manufacturer, int serviceUuid, String bluetoothName, P position, com.irurueta.algebra.Matrix positionCovariance)
      Constructor.
      Parameters:
      identifiers - list of the multipart identifiers of the beacon.
      transmittedPower - calibrated measured Tx power of the Beacon in RSSI (expressed in dBm's).
      bluetoothAddress - the bluetooth mac address.
      beaconTypeCode - the two byte value indicating the type of beacon.
      manufacturer - a two byte code indicating the beacon manufacturer.
      serviceUuid - a 32 bit service uuid for the beacon.
      bluetoothName - the bluetooth device name.
      position - position where beacon is located.
      positionCovariance - covariance of inhomogeneous coordinates of current position (if available).
      Throws:
      IllegalArgumentException - if either identifiers or position are null.
    • BeaconLocated

      public BeaconLocated(List<BeaconIdentifier> identifiers, double transmittedPower, double frequency, P position)
      Constructor.
      Parameters:
      identifiers - list of the multipart identifiers of the beacon.
      transmittedPower - calibrated measured Tx power of the Beacon in RSSI (expressed in dBm's).
      frequency - frequency used by this Beacon.
      position - position where beacon is located.
      Throws:
      IllegalArgumentException - if either identifiers or position are null or frequency is negative.
    • BeaconLocated

      public BeaconLocated(List<BeaconIdentifier> identifiers, double transmittedPower, double frequency, String bluetoothAddress, int beaconTypeCode, int manufacturer, int serviceUuid, String bluetoothName, P position)
      Constructor.
      Parameters:
      identifiers - list of the multipart identifiers of the beacon.
      transmittedPower - calibrated measured Tx power of the Beacon in RSSI (expressed in dBm's).
      frequency - frequency used by this Beacon.
      bluetoothAddress - the bluetooth mac address.
      beaconTypeCode - the two byte value indicating the type of beacon.
      manufacturer - a two byte code indicating the beacon manufacturer.
      serviceUuid - a 32 bit service uuid for the beacon.
      bluetoothName - the bluetooth device name.
      position - position where beacon is located.
      Throws:
      IllegalArgumentException - if either identifiers or position are null or frequency is negative.
    • BeaconLocated

      public BeaconLocated(List<BeaconIdentifier> identifiers, double transmittedPower, double frequency, P position, com.irurueta.algebra.Matrix positionCovariance)
      Constructor.
      Parameters:
      identifiers - list of the multipart identifiers of the beacon.
      transmittedPower - calibrated measured Tx power of the Beacon in RSSI (expressed in dBm's).
      frequency - frequency used by this Beacon.
      position - position where beacon is located.
      positionCovariance - covariance of inhomogeneous coordinates of current position (if available).
      Throws:
      IllegalArgumentException - if either identifiers or position are null or frequency is negative.
    • BeaconLocated

      public BeaconLocated(List<BeaconIdentifier> identifiers, double transmittedPower, double frequency, String bluetoothAddress, int beaconTypeCode, int manufacturer, int serviceUuid, String bluetoothName, P position, com.irurueta.algebra.Matrix positionCovariance)
      Constructor.
      Parameters:
      identifiers - list of the multipart identifiers of the beacon.
      transmittedPower - calibrated measured Tx power of the Beacon in RSSI (expressed in dBm's).
      frequency - frequency used by this Beacon.
      bluetoothAddress - the bluetooth mac address.
      beaconTypeCode - the two byte value indicating the type of beacon.
      manufacturer - a two byte code indicating the beacon manufacturer.
      serviceUuid - a 32 bit service uuid for the beacon.
      bluetoothName - the bluetooth device name.
      position - position where beacon is located.
      positionCovariance - covariance of inhomogeneous coordinates of current position (if available).
      Throws:
      IllegalArgumentException - if either identifiers or position are null or frequency is negative.
    • BeaconLocated

      protected BeaconLocated()
      Empty constructor.
  • Method Details

    • getPosition

      public P getPosition()
      Gets position where beacon is located.
      Specified by:
      getPosition in interface RadioSourceLocated<P extends com.irurueta.geometry.Point<?>>
      Returns:
      position where beacon 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.