Package angleMeasurement
Class AngleMeasurement
java.lang.Object
angleMeasurement.AngleMeasurement
- All Implemented Interfaces:
 PamSettings,SettingsNameProvider
- Direct Known Subclasses:
 FluxgateWorldAngles
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidaddMeasurementListener(AngleMeasurementListener angleMeasurementListener) doubledoublegetCalibratedAngle(double rawAngle) Converts a raw angle into a calibrated angle.abstract DoublegetName()abstract Doubleprotected voidvoidremoveMeasurementListener(AngleMeasurementListener angleMeasurementListener) voidsetAngleOffset(double angleOffset) voidsetAngleParameters(AngleParameters angleParameters) voidsetCalibrationData(double[] calibrationData) voidabstract booleanvoidSets up the angle calibration.abstract voidsetZero()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface PamController.PamSettings
getSettingsReference, getSettingsVersion, restoreSettings 
- 
Constructor Details
- 
AngleMeasurement
 
 - 
 - 
Method Details
- 
getRawAngle
 - 
getCalibratedAngle
 - 
getCorrectedAngle
 - 
setZero
public abstract void setZero() - 
settings
 - 
getAngleOffset
public double getAngleOffset() - 
setAngleOffset
public void setAngleOffset(double angleOffset)  - 
getName
 - 
setName
 - 
getUnitName
- Specified by:
 getUnitNamein interfaceSettingsNameProvider- Returns:
 - A Name specific to this instance of the particular class, e.g. Sperm whale detector, Beaked whale detector, etc.
 
 - 
getUnitType
- Specified by:
 getUnitTypein interfacePamSettings- Returns:
 - A Name specific to the type, e.g. Click detector
 
 - 
getAngleParameters
 - 
setAngleParameters
 - 
addMeasurementListener
 - 
removeMeasurementListener
 - 
notifyAngleMeasurementListeners
protected void notifyAngleMeasurementListeners() - 
setCalibrationData
public void setCalibrationData(double[] calibrationData)  - 
setupCalibration
public void setupCalibration()Sets up the angle calibration. Most angle measurement devices wil just use it as is, but some may be able to extract the data from it and upload them to the external device. - 
getCalibratedAngle
public double getCalibratedAngle(double rawAngle) Converts a raw angle into a calibrated angle.
Most angle measurement devices wil just use it as is, but some may be able to extract the data from it and upload them to the external device, in which case developer will probably want to override this function so that it doesn't do anything (just returns the rawAngle)- Parameters:
 rawAngle- uncalibrated angle- Returns:
 - calibrated angle
 
 
 -