Package gda.hrpd.pmac

Class SafePosition

java.lang.Object
gda.factory.FindableBase
gda.hrpd.pmac.SafePosition
All Implemented Interfaces:
Findable, Predicate<Double>

public class SafePosition extends FindableBase implements Predicate<Double>
This data object defines the safe position to park a device when it is not in use while operating other devices around it. It is used to store configurable positions for safe operation of devices on beamline so collision avoidance logic can be implemented elsewhere.
  • Constructor Details

    • SafePosition

      public SafePosition()
  • Method Details

    • test

      public boolean test(Double t)
      Specified by:
      test in interface Predicate<Double>
    • checkPosition

      public void checkPosition(String motorName, double actualPosition)
    • getPosition

      public double getPosition()
    • setPosition

      public void setPosition(double safeposition)
    • getTolerance

      public double getTolerance()
    • setTolerance

      public void setTolerance(double safePositionTolerance)