public class Scale1ProtoPivotingFrame extends MobileItemModule
currentAction, fcslog, haltRequired, hasToWaitForEndOfAction, lock, motionCompleted, moving| Constructor and Description |
|---|
Scale1ProtoPivotingFrame(String moduleName,
int aTickMillis,
CanOpenDigitaxVariator variatorX,
CanOpenDigitaxVariator variatorZ) |
| Modifier and Type | Method and Description |
|---|---|
String |
goToHome() |
boolean |
isActionCompleted(FcsEnumerations.MobileItemAction action) |
boolean |
isHardwareReady() |
void |
postAction(FcsEnumerations.MobileItemAction action) |
String |
rotateCamera(long angle)
to rotate around Z axis
|
String |
rotateX(long angle)
to rotate around X axis
|
void |
startAction(FcsEnumerations.MobileItemAction action) |
void |
stopAction(FcsEnumerations.MobileItemAction action,
long delay) |
void |
updateStateWithSensorsToCheckIfActionIsCompleted() |
abort, abort, checkHardware, checkStarted, checkStopped, executeAction, isMoving, readSensorsUntilActionIsCompleted, shutdownNow, signal, stopalias, change, dropConfigurationContext, getCheckedValueFromConfiguration, getChildren, getComponentByName, getComponentDictionariesTree, getComponentTree, getContext, getDictionary, getEnvironment, getMainDictionary, getModule, getName, getNObserverThreads, getObservables, getParent, getSubsystem, getTickMillis, init, initModule, injectResources, 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, start, startTicking, tick, updateaddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedpublic Scale1ProtoPivotingFrame(String moduleName, int aTickMillis, CanOpenDigitaxVariator variatorX, CanOpenDigitaxVariator variatorZ)
@Command(type=QUERY,
level=1,
description="Returns true if hardware is connected and ready.")
public boolean isHardwareReady()
isHardwareReady in class MobileItemModulepublic 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 stopAction(FcsEnumerations.MobileItemAction action, long delay) throws org.lsst.ccs.bus.BadCommandException, org.lsst.ccs.bus.ErrorInCommandExecutionException, FcsHardwareException
stopAction 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 String goToHome()
public String rotateX(long angle)
angle - public String rotateCamera(long angle)
angle - Copyright © 2014 LSST. All rights reserved.