public class CarouselSocket extends MobileItemModule
currentAction, fcslog, haltRequired, hasToWaitForEndOfAction, lock, motionCompleted, moving, stopRequired| Constructor and Description |
|---|
CarouselSocket(String moduleName,
int aTickMillis,
FilterClampModule clampXminus,
FilterClampModule clampXplus,
double position,
double standbyPosition) |
abort, abort, checkHardware, checkStarted, checkStopped, executeAction, getHaltRequired, isMoving, quickstop, readSensorsUntilActionIsCompleted, shutdownNow, signal, stop, stopalias, getComponentDictionariesTree, getComponentTree, getContext, getEnvironment, getMainDictionary, getModule, getName, getNObserverThreads, getObservables, getSubsystem, getTickMillis, init, listens, percolateSignal, postStart, processUpdate, publishData, publishData, publishData, publishData, publishData, publishData, publishData, sendSignal, sendSignal, sendSignalWithTimeLimit, sendToReply, sendToStatus, setBeanName, setContext, setEnvironment, setName, setNObserverThreads, setObservables, setStateModularSubsystem, setStateModularSubsystem, setTickMillis, startTicking, tick, updateaddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitchange, getCheckedValueFromConfiguration, getChildren, getComponentByName, getDictionary, getParent, getParentObject, injectResources, listChildren, notifyChange, notifyChangeWithoutPreliminaryChecks, proceduralWalk, publish, publish, publish, publish, publish, publish, start, treeWalkpublic CarouselSocket(String moduleName, int aTickMillis, FilterClampModule clampXminus, FilterClampModule clampXplus, double position, double standbyPosition)
public FilterClampModule getClampXminus()
public void setClampXminus(FilterClampModule clampXminus)
public FilterClampModule getClampXplus()
public void setClampXplus(FilterClampModule clampXplus)
public double getPosition()
public Filter getFilter()
public double getStandbyPosition()
public void initModule()
initModule in class org.lsst.ccs.framework.Module@Command(type=QUERY,
level=1,
description="Returns true if hardware is connected and ready.")
public boolean isHardwareReady()
isHardwareReady in class MobileItemModulepublic FcsEnumerations.FilterClampState getClampsState()
@Deprecated public void updateClampsStateWithSensorsFromSDO() throws FcsHardwareException
HardwareErrorFcsHardwareExceptionpublic void updateClampsStateWithSensors(CanOpenProxy.PDOStorage pdoStorage) throws FcsHardwareException
FcsHardwareExceptionpublic void updateClampsStateWithSensors()
throws FcsHardwareException,
org.lsst.ccs.bus.BadCommandException
FcsHardwareExceptionorg.lsst.ccs.bus.BadCommandExceptionpublic boolean isEmpty()
throws FcsHardwareException
FcsHardwareExceptionpublic boolean isClampedOnFilter()
public boolean isUnclampedOnFilter()
public boolean isUnclampedEmpty()
public boolean isReadyToClamp()
public String releaseClamps() throws org.lsst.ccs.bus.BadCommandException, org.lsst.ccs.bus.ErrorInCommandExecutionException, FcsHardwareException
org.lsst.ccs.bus.BadCommandExceptionorg.lsst.ccs.bus.ErrorInCommandExecutionExceptionHardwareErrorFcsHardwareExceptionpublic String unlockClamps() throws FcsHardwareException, org.lsst.ccs.bus.BadCommandException, org.lsst.ccs.bus.ErrorInCommandExecutionException
FcsHardwareExceptionorg.lsst.ccs.bus.BadCommandExceptionorg.lsst.ccs.bus.ErrorInCommandExecutionExceptionpublic void removeFilter()
throws org.lsst.ccs.bus.BadCommandException
org.lsst.ccs.bus.BadCommandExceptionpublic void putFilterOnSocket(Filter filter)
public boolean isActionCompleted(FcsEnumerations.MobileItemAction action)
isActionCompleted in class MobileItemModulepublic void updateStateWithSensorsToCheckIfActionIsCompleted()
throws Exception
updateStateWithSensorsToCheckIfActionIsCompleted in class MobileItemModuleExceptionpublic void startAction(FcsEnumerations.MobileItemAction action) throws org.lsst.ccs.bus.BadCommandException, org.lsst.ccs.bus.ErrorInCommandExecutionException, FcsHardwareException
startAction in class MobileItemModuleorg.lsst.ccs.bus.BadCommandExceptionorg.lsst.ccs.bus.ErrorInCommandExecutionExceptionFcsHardwareExceptionpublic void postAction(FcsEnumerations.MobileItemAction action) throws org.lsst.ccs.bus.BadCommandException, org.lsst.ccs.bus.ErrorInCommandExecutionException, FcsHardwareException
postAction in class MobileItemModuleorg.lsst.ccs.bus.BadCommandExceptionorg.lsst.ccs.bus.ErrorInCommandExecutionExceptionFcsHardwareExceptionpublic void abortAction(FcsEnumerations.MobileItemAction action, long delay) throws org.lsst.ccs.bus.BadCommandException, org.lsst.ccs.bus.ErrorInCommandExecutionException, FcsHardwareException
abortAction in class MobileItemModuleorg.lsst.ccs.bus.BadCommandExceptionorg.lsst.ccs.bus.ErrorInCommandExecutionExceptionFcsHardwareExceptionpublic void publishData()
publishData in class MobileItemModulepublic void quickStopAction(FcsEnumerations.MobileItemAction action, long delay) throws org.lsst.ccs.bus.BadCommandException, org.lsst.ccs.bus.ErrorInCommandExecutionException, FcsHardwareException
quickStopAction in class MobileItemModuleorg.lsst.ccs.bus.BadCommandExceptionorg.lsst.ccs.bus.ErrorInCommandExecutionExceptionFcsHardwareExceptionCopyright © 2015 LSST. All rights reserved.