Package Array
Class SimpleHydrophoneLocator
java.lang.Object
Array.HydrophoneLocator
Array.SimpleHydrophoneLocator
- All Implemented Interfaces:
Serializable
,Cloneable
,ManagedParameters
- Direct Known Subclasses:
MovingHydrophoneLocator
Some abstract class function for hydrophone location that are used by
more concrete locators, in particular the StaticHydrophoneLocator
and StraightHydrophoneLocators
- Author:
- Doug Gillespie
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
getPairSeparation
(long timeMilliseconds, int phone1, int phone2) Gets the angle between a pair of hydrophones in degrees in navigation units, i.e.boolean
Note- changeable refers to the array positions changing relative to each other.boolean
isStatic()
void
notifyModelChanged
(int changeType, boolean initComplete) Methods inherited from class Array.HydrophoneLocator
getDefaultSettings, getLocatorSettings, getName, getParameterSet, getPhoneLatLong, getStreamer, getStreamerLatLong, setLocatorSettings
-
Constructor Details
-
SimpleHydrophoneLocator
-
-
Method Details
-
getPairSeparation
public double getPairSeparation(long timeMilliseconds, int phone1, int phone2) Gets the angle between a pair of hydrophones in degrees in navigation units, i.e. clockwise from North- Parameters:
h1
- first hydrophoneh2
- second hydrophone- Returns:
- angle from north in degrees
-
notifyModelChanged
public void notifyModelChanged(int changeType, boolean initComplete) - Specified by:
notifyModelChanged
in classHydrophoneLocator
-
isStatic
public boolean isStatic()- Specified by:
isStatic
in classHydrophoneLocator
- Returns:
- true if it's some sort of static array (not using GPS data in any way).
-
isChangeable
public boolean isChangeable()Description copied from class:HydrophoneLocator
Note- changeable refers to the array positions changing relative to each other. i.e. the array doesn't change with heading or gps position, it's only changeable if the distances between hydrophones can change with time.- Specified by:
isChangeable
in classHydrophoneLocator
- Returns:
- true if the hydrophone positions within the array can change with time
-