Class FluxgateWorldAngles

java.lang.Object
angleMeasurement.AngleMeasurement
angleMeasurement.FluxgateWorldAngles
All Implemented Interfaces:
PamSettings, SettingsNameProvider

public class FluxgateWorldAngles extends AngleMeasurement
Read out a Fluxgate World 3030 shaft encoder.
Author:
Douglas Gillespie
  • Constructor Details

    • FluxgateWorldAngles

      public FluxgateWorldAngles(String name, boolean autoStart)
  • Method Details

    • getRawAngle

      public Double getRawAngle()
      Specified by:
      getRawAngle in class AngleMeasurement
    • getCorrectedAngle

      public Double getCorrectedAngle()
      Specified by:
      getCorrectedAngle in class AngleMeasurement
    • setZero

      public void setZero()
      Specified by:
      setZero in class AngleMeasurement
    • settings

      public boolean settings(Frame parentFrame)
      Specified by:
      settings in class AngleMeasurement
    • getSettingsReference

      public Serializable getSettingsReference()
      Returns:
      The serialisable object that will be stored
    • getSettingsVersion

      public long getSettingsVersion()
      Returns:
      An integer version number for the settings
    • restoreSettings

      public boolean restoreSettings(PamControlledUnitSettings pamControlledUnitSettings)
      Returns:
      true if successful The object performs final checks (if needed) and then casts the settings data pamcontrolledunitSettings.settings into the correct type and uses as required
    • start

      public boolean start()
    • stop

      public void stop()
    • readData

      public void readData(String result)
    • getFluxgateWorldParameters

      public FluxgateWorldParameters getFluxgateWorldParameters()
    • setFluxgateWorldParameters

      public void setFluxgateWorldParameters(FluxgateWorldParameters fluxgateWorldParameters)
    • setFluxgateWorldParameters

      public void setFluxgateWorldParameters(FluxgateWorldParameters fluxgateWorldParameters, boolean start)