public class SftCarouselModule extends CarouselModule
publishedByCarouselOutputName| Constructor and Description |
|---|
SftCarouselModule(String aName,
int aTickMillis,
Motor carouselMotor,
GenericLatch brake,
int nbSockets,
List<CarouselSocket> socketsList) |
| Modifier and Type | Method and Description |
|---|---|
double |
getPosition()
The carousel position measures the rotation angle of the carousel within
the fixed part of the camera.
|
CarouselSocket |
getSocketAtStandby()
This methods returns the socket at standby position or null if there is no
socket at standby position.
|
boolean |
isAbleToMove()
The carousel can be locked by a break or prevented to move by the
autochanger fliprail.
|
boolean |
isRotating() |
String |
lock()
Lock the carousel (or engage the break).
|
String |
rotate(double angle)
Rotates carousel for an angle given as a parameter.
|
String |
stop()
Stop the carousel if it is rotating.
|
String |
unlock()
Unlock the carousel (or disengage the break)
|
void |
updateClampsStateWithSensors() |
void |
updateStateWithSensors()
This method reads the clamps sensors and update the clamps state AND
put or remove the filter (software) on the socket at standby.
|
addAngle, engageClampsContact, getClampActuatorXminus, getClampActuatorXplus, getClampXminus, getClampXplus, getFilterAtStandby, getFilterInStandbyName, getFilterPosition, getNbSockets, getSocketNumber, getSockets, getStandbyPositionForFilter, getState, getStatusData, grabFilterAtStandby, grabFilterAtStandby, initModule, isHoldingFilterAtStandby, isLocked, isOnStandby, isReadyToGrabAFilterAtStandby, moveFilterToStandby, printSockets, processUpdate, releaseClamps, releaseClampsContact, removeFilterFromCarousel, setState, tick, toString, ungrabFilterAtStandby, unlockClamps, unlockClamps, updateClampsStateWithSensorsFromPDO, updateClampsStateWithSensorsFromSDOalias, change, checkHardware, dropConfigurationContext, getCheckedValueFromConfiguration, getChildren, getContext, getModule, getName, getNObserverThreads, getObservables, getSubsystem, getTickMillis, init, listens, newConfigurationContext, notifyChange, notifyChangeWithoutPreliminaryChecks, publishData, publishData, publishData, publishData, publishData, publishData, publishData, register, removeLogPanicState, sendToReply, sendToStatus, setBeanName, setContext, setEnvironment, setHandlerLevel, setLogLevel, setName, setNObserverThreads, setObservables, setStateModularSubsystem, setStateModularSubsystem, setTickMillis, shutdownCommand, shutdownNow, start, startTicking, updateaddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedpublic SftCarouselModule(String aName, int aTickMillis, Motor carouselMotor, GenericLatch brake, int nbSockets, List<CarouselSocket> socketsList)
public CarouselSocket getSocketAtStandby()
CarouselgetSocketAtStandby in interface CarouselgetSocketAtStandby in class CarouselModulepublic double getPosition()
CarouselgetPosition in interface CarouselgetPosition in class CarouselModulepublic void updateStateWithSensors()
throws HardwareException,
org.lsst.ccs.bus.BadCommandException
HardwareErrororg.lsst.ccs.bus.BadCommandExceptionHardwareExceptionpublic void updateClampsStateWithSensors()
throws org.lsst.ccs.bus.BadCommandException,
HardwareException
updateClampsStateWithSensors in class CarouselModuleorg.lsst.ccs.bus.BadCommandExceptionHardwareExceptionpublic boolean isAbleToMove()
CarouselisAbleToMove in interface CarouselisAbleToMove in class CarouselModulepublic boolean isRotating()
isRotating in class CarouselModulepublic String rotate(double angle)
CarouselModulerotate in interface Carouselrotate in class CarouselModuleangle - : given in degree
available values for an angle : [-360,+360]public String stop()
Carouselstop in interface Carouselstop in class CarouselModulepublic String lock()
Carousellock in interface Carousellock in class CarouselModuleCopyright © 2014 LSST. All Rights Reserved.