org.lsst.ccs.subsystems.shutter.interfaces
Interface HallTransition

All Known Implementing Classes:
HallTransitionImpl

public interface HallTransition


Method Summary
 float getPosition()
          Get the position (in mm) where the transition occurred
 float getRelPosition()
          Get the relative position (0 - 1) where the transition occurred
 int getSensorId()
          Get the id of the Hall Sensor
 long getTransitionTime()
          Get the Epoch microseconds when the transition occurred.
 boolean isOpen()
          Check if the sensor is open after the transition.
 boolean isReverse()
          Check if the motion was in the reverse direction, in shutter coordinates.
 

Method Detail

getTransitionTime

long getTransitionTime()
Get the Epoch microseconds when the transition occurred.


getSensorId

int getSensorId()
Get the id of the Hall Sensor


isOpen

boolean isOpen()
Check if the sensor is open after the transition. Open is the state when no actuating magnet is near the sensor. The sensor closes and re-opens as a magnet moves past it.


isReverse

boolean isReverse()
Check if the motion was in the reverse direction, in shutter coordinates.


getPosition

float getPosition()
Get the position (in mm) where the transition occurred


getRelPosition

float getRelPosition()
Get the relative position (0 - 1) where the transition occurred



Copyright © 2012 LSST. All Rights Reserved.