Package angleMeasurement
Class FluxgateWorldAngles
java.lang.Object
angleMeasurement.AngleMeasurement
angleMeasurement.FluxgateWorldAngles
- All Implemented Interfaces:
PamSettings
,SettingsNameProvider
Read out a Fluxgate World 3030 shaft encoder.
- Author:
- Douglas Gillespie
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
void
boolean
restoreSettings
(PamControlledUnitSettings pamControlledUnitSettings) void
setFluxgateWorldParameters
(FluxgateWorldParameters fluxgateWorldParameters) void
setFluxgateWorldParameters
(FluxgateWorldParameters fluxgateWorldParameters, boolean start) boolean
void
setZero()
boolean
start()
void
stop()
Methods inherited from class angleMeasurement.AngleMeasurement
addMeasurementListener, getAngleOffset, getAngleParameters, getCalibratedAngle, getCalibratedAngle, getName, getUnitName, getUnitType, removeMeasurementListener, setAngleOffset, setAngleParameters, setCalibrationData, setName, setupCalibration
-
Constructor Details
-
FluxgateWorldAngles
-
-
Method Details
-
getRawAngle
- Specified by:
getRawAngle
in classAngleMeasurement
-
getCorrectedAngle
- Specified by:
getCorrectedAngle
in classAngleMeasurement
-
setZero
public void setZero()- Specified by:
setZero
in classAngleMeasurement
-
settings
- Specified by:
settings
in classAngleMeasurement
-
getSettingsReference
- Returns:
- The serialisable object that will be stored
-
getSettingsVersion
public long getSettingsVersion()- Returns:
- An integer version number for the settings
-
restoreSettings
- 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
-
getFluxgateWorldParameters
-
setFluxgateWorldParameters
-
setFluxgateWorldParameters
public void setFluxgateWorldParameters(FluxgateWorldParameters fluxgateWorldParameters, boolean start)
-