AIS
Class AISLocalisation

java.lang.Object
  extended by PamDetection.AbstractLocalisation
      extended by AIS.AISLocalisation

public class AISLocalisation
extends AbstractLocalisation


Field Summary
(package private)  AISDataUnit aisDataUnit
           
(package private)  GpsData lastFoundGpsData
           
(package private)  long lastGpsFindTime
           
 
Fields inherited from class PamDetection.AbstractLocalisation
HAS_AMBIGUITY, HAS_BEARING, HAS_BEARINGERROR, HAS_DEPTH, HAS_DEPTHERROR, HAS_LATLONG, HAS_PERPENDICULARERRORS, HAS_RANGE, HAS_RANGEERROR, HAS_XY, HAS_XYZ
 
Constructor Summary
AISLocalisation(AISDataUnit aisDataUnit)
           
 
Method Summary
(package private)  GpsData findGpsData()
           
(package private)  GpsData findGpsData(long timeMillisecods)
           
 double getBearing(int side)
          Get the bearing in radians, relative to the bearing reference
 double getDepth()
           
 double getRange(int iSide)
          Get the range for a specific side (where ambiguity exists)
 boolean hasLocContent(int requiredContent)
          Check that the localisation has specific content.
 
Methods inherited from class PamDetection.AbstractLocalisation
addLocContents, bearingAmbiguity, getAngles, getArrayOrientationVectors, getBearing, getBearingError, getBearingError, getBearingReference, getDepth, getDepthError, getDepthError, getErrorDirection, getLatLong, getLocContents, getNumLatLong, getOriginLatLong, getParallelError, getParentDetection, getPerpendiculaError, getPlanarAngles, getRange, getRangeError, getRangeError, getReferenceHydrophones, getSubArrayType, removeLocContents, setLocContents, setParentDetection, setReferenceHydrophones
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

aisDataUnit

AISDataUnit aisDataUnit

lastFoundGpsData

GpsData lastFoundGpsData

lastGpsFindTime

long lastGpsFindTime
Constructor Detail

AISLocalisation

public AISLocalisation(AISDataUnit aisDataUnit)
Method Detail

hasLocContent

public boolean hasLocContent(int requiredContent)
Description copied from class: AbstractLocalisation
Check that the localisation has specific content.

Overrides:
hasLocContent in class AbstractLocalisation
Parameters:
requiredContent - specified content
Returns:
true if specified content exists, false otherwise.

getBearing

public double getBearing(int side)
Description copied from class: AbstractLocalisation
Get the bearing in radians, relative to the bearing reference

Overrides:
getBearing in class AbstractLocalisation
Parameters:
side - which side is the bearing on
Returns:
bearing in radians
See Also:
getBearingReference

getDepth

public double getDepth()
Overrides:
getDepth in class AbstractLocalisation
Returns:
The depth of the detection in meters

getRange

public double getRange(int iSide)
Description copied from class: AbstractLocalisation
Get the range for a specific side (where ambiguity exists)

Overrides:
getRange in class AbstractLocalisation
Returns:
range

findGpsData

GpsData findGpsData()

findGpsData

GpsData findGpsData(long timeMillisecods)