public class LoaderModule
extends org.lsst.ccs.framework.Module
| Constructor and Description |
|---|
LoaderModule(String moduleName,
int aTickMillis,
LoaderCarrierModule carrier,
LoaderClampModule clamp,
NumericSensor filterPresenceSensor,
NumericSensor loaderOnCameraPresenceSensor) |
| Modifier and Type | Method and Description |
|---|---|
String |
clampHooks()
This method closes the clamps strongly.
|
String |
closeHooks()
This method closes the clamps.
|
LoaderCarrierModule |
getCarrier() |
LoaderClampModule |
getClamp() |
void |
initializeHardware() |
void |
initModule() |
boolean |
isCarrierAtStoragePosition() |
boolean |
isEmpty() |
boolean |
isHoldingAFilter() |
boolean |
isMoving() |
String |
listHooks() |
String |
listSensorsValues() |
void |
moveToHandoff()
Moves the loader carrier to the handoff position.
|
void |
moveToStorage()
Moves the loader carrier to the storage position.
|
String |
openHooks()
This method opens the clamp.
|
void |
test() |
void |
tick() |
void |
updateCarrierStateWithSensors() |
void |
updateStateWithSensors()
This updates the clamps state of the loader : clampsLockStatus
|
alias, change, checkHardware, dropConfigurationContext, getCheckedValueFromConfiguration, getChildren, getComponentByName, getComponentDictionariesTree, getComponentTree, getContext, getDictionary, getEnvironment, getMainDictionary, getModule, getName, getNObserverThreads, getObservables, getParent, getSubsystem, getTickMillis, init, listens, newConfigurationContext, notifyChange, notifyChangeWithoutPreliminaryChecks, percolateSignal, processUpdate, publish, publish, publish, publish, publish, publish, publishData, publishData, publishData, publishData, publishData, publishData, publishData, register, sendSignal, sendSignal, sendToReply, sendToStatus, setBeanName, setContext, setEnvironment, setName, setNObserverThreads, setObservables, setStateModularSubsystem, setStateModularSubsystem, setTickMillis, shutdownCommand, shutdownNow, signal, start, startTicking, updateaddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged@ConstructorProperties(value={"name","tickmillis","carrier","clamp","filterPresenceSensor","loaderOnCameraPresenceSensor"}) public LoaderModule(String moduleName, int aTickMillis, LoaderCarrierModule carrier, LoaderClampModule clamp, NumericSensor filterPresenceSensor, NumericSensor loaderOnCameraPresenceSensor)
@Command(type=QUERY,
level=0,
description="Return true if no filter is in the loader.")
public boolean isEmpty()
@Command(type=QUERY,
level=0,
description="Return true if no filter is in the loader.")
public boolean isMoving()
@Command(type=QUERY,
level=0,
description="A filter is there and it is held by the clamp.")
public boolean isHoldingAFilter()
public LoaderClampModule getClamp()
public LoaderCarrierModule getCarrier()
public boolean isCarrierAtStoragePosition()
public void initModule()
initModule in class org.lsst.ccs.framework.Modulepublic void initializeHardware()
throws HardwareException,
org.lsst.ccs.bus.ErrorInCommandExecutionException,
org.lsst.ccs.bus.BadCommandException
HardwareExceptionorg.lsst.ccs.bus.ErrorInCommandExecutionExceptionorg.lsst.ccs.bus.BadCommandExceptionpublic void tick()
tick in class org.lsst.ccs.framework.Module@Command(type=ACTION,
level=0,
description="Update clamp and carrier states in reading the sensors.")
public void updateStateWithSensors()
throws HardwareException,
org.lsst.ccs.bus.ErrorInCommandExecutionException
HardwareExceptionorg.lsst.ccs.bus.ErrorInCommandExecutionException@Command(type=ACTION,
level=1,
description="Close hooks.")
public String closeHooks()
throws org.lsst.ccs.bus.BadCommandException,
org.lsst.ccs.bus.ErrorInCommandExecutionException,
HardwareException
org.lsst.ccs.bus.BadCommandExceptionorg.lsst.ccs.bus.ErrorInCommandExecutionExceptionHardwareException@Command(type=ACTION,
level=1,
description="Clamp hooks.")
public String clampHooks()
throws org.lsst.ccs.bus.BadCommandException,
org.lsst.ccs.bus.ErrorInCommandExecutionException,
HardwareException
org.lsst.ccs.bus.BadCommandExceptionorg.lsst.ccs.bus.ErrorInCommandExecutionExceptionHardwareException@Command(level=1,
description="Open the hooks",
type=ACTION)
public String openHooks()
throws org.lsst.ccs.bus.BadCommandException,
org.lsst.ccs.bus.ErrorInCommandExecutionException,
HardwareException
org.lsst.ccs.bus.BadCommandExceptionorg.lsst.ccs.bus.ErrorInCommandExecutionExceptionHardwareException@Command(level=1,
description="Move the loader carrier to HANDOFF position",
type=ACTION)
public void moveToHandoff()
@Command(type=ACTION,
level=1,
description="Move the loader carrier to STORAGE position")
public void moveToStorage()
@Command(type=ACTION,
level=0,
description="Update carrier states in reading the sensors.")
public void updateCarrierStateWithSensors()
@Command(type=QUERY,
level=0,
description="List and display info on the hooks.")
public String listHooks()
@Command(type=QUERY,
level=1,
description="List and display hooks sensors values.")
public String listSensorsValues()
public void test()
Copyright © 2014 LSST. All Rights Reserved.