Interface SensorCalibration

All Known Implementing Classes:
AddThenMultiplyThenAdd, MultiplyThenAdd

public interface SensorCalibration
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    rawToValue(double rawValue, CalibrationData calibrationData)
    Convert a value from an ADC, which will probably have already been converted to volts or amps into an 'engineering' unit, e.g.
  • Method Details

    • rawToValue

      double rawToValue(double rawValue, CalibrationData calibrationData) throws CalibrationException
      Convert a value from an ADC, which will probably have already been converted to volts or amps into an 'engineering' unit, e.g. depth, heading, etc.
      Parameters:
      rawValue - Value from acquisition device
      Returns:
      value in engineering units.
      Throws:
      Calibration - exception if calibration data is missing or incompatible.
      CalibrationException