Package com.irurueta.navigation.indoor
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- aPointtype.
- 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 Summary
FieldsModifier and TypeFieldDescriptionprivate PPosition where beacon is located.private com.irurueta.algebra.MatrixCovariance of inhomogeneous coordinates of current position (if available).Fields inherited from class com.irurueta.navigation.indoor.Beacon
DEFAULT_FREQUENCY -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedEmpty constructor.BeaconLocated(List<BeaconIdentifier> identifiers, double transmittedPower, double frequency, String bluetoothAddress, int beaconTypeCode, int manufacturer, int serviceUuid, String bluetoothName, P position) Constructor.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.BeaconLocated(List<BeaconIdentifier> identifiers, double transmittedPower, double frequency, P position) Constructor.BeaconLocated(List<BeaconIdentifier> identifiers, double transmittedPower, double frequency, P position, com.irurueta.algebra.Matrix positionCovariance) Constructor.BeaconLocated(List<BeaconIdentifier> identifiers, double transmittedPower, String bluetoothAddress, int beaconTypeCode, int manufacturer, int serviceUuid, String bluetoothName, P position) Constructor.BeaconLocated(List<BeaconIdentifier> identifiers, double transmittedPower, String bluetoothAddress, int beaconTypeCode, int manufacturer, int serviceUuid, String bluetoothName, P position, com.irurueta.algebra.Matrix positionCovariance) Constructor.BeaconLocated(List<BeaconIdentifier> identifiers, double transmittedPower, P position) Constructor.BeaconLocated(List<BeaconIdentifier> identifiers, double transmittedPower, P position, com.irurueta.algebra.Matrix positionCovariance) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGets position where beacon is located.com.irurueta.algebra.MatrixGets covariance of inhomogeneous coordinates of current position (if available).Methods inherited from class com.irurueta.navigation.indoor.Beacon
equals, getBeaconTypeCode, getBluetoothAddress, getBluetoothName, getFrequency, getId1, getId2, getId3, getIdentifier, getIdentifiers, getManufacturer, getServiceUuid, getTransmittedPower, getType, hashCode
-
Field Details
-
position
Position where beacon is located. -
positionCovariance
private com.irurueta.algebra.Matrix positionCovarianceCovariance of inhomogeneous coordinates of current position (if available).
-
-
Constructor Details
-
BeaconLocated
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
Gets position where beacon is located.- Specified by:
getPositionin interfaceRadioSourceLocated<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:
getPositionCovariancein interfaceRadioSourceLocated<P extends com.irurueta.geometry.Point<?>>- Returns:
- covariance of position or null.
-