public class SftCarouselModule extends CarouselModule
fcslog, publishedByCarouselOutputName| Constructor and Description |
|---|
SftCarouselModule(String aName,
int aTickMillis,
Motor carouselMotor,
GenericLatch brake,
int nbSockets,
List<CarouselSocket> socketsList) |
| Modifier and Type | Method and Description |
|---|---|
String |
engageBrake()
Lock the carousel (or engage the break).
|
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 EngageBrakeed by a break or prevented to move by the
autochanger fliprail.
|
boolean |
isRotating() |
String |
releaseBrake()
UnEngageBrake the carousel (or disengage the break)
|
String |
rotate(double angle)
Rotates carousel for an angle given as a parameter.
|
String |
stop()
Stop the carousel if it is rotating.
|
void |
updateClampsStateWithSensors()
Read the clamps state from PDO : all the clamp sensors are read at one time.
|
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, publishCarouselData, publishData, releaseClamps, releaseClampsContact, removeFilterFromCarousel, setState, tick, toString, ungrabFilterAtStandby, unlockClamps, unlockClamps, updateClampsStateWithSensorsFromPDO, updateClampsStateWithSensorsFromSDOalias, change, dropConfigurationContext, getCheckedValueFromConfiguration, getChildren, getComponentByName, getComponentDictionariesTree, getComponentTree, getContext, getDictionary, getEnvironment, getMainDictionary, getModule, getName, getNObserverThreads, getObservables, getParent, getSubsystem, getTickMillis, init, injectResources, listens, newConfigurationContext, notifyChange, notifyChangeWithoutPreliminaryChecks, percolateSignal, 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, 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 CarouselModule@Command(level=0,
description="Read clamps sensors, update clamps state and sockets field",
type=QUERY,
alias="updState")
public void updateStateWithSensors()
throws FcsHardwareException,
org.lsst.ccs.bus.BadCommandException
FcsHardwareExceptionorg.lsst.ccs.bus.BadCommandException@Command(level=0,
description="Read clamps sensors, update clamps state",
type=QUERY,
alias="updClampsState")
public void updateClampsStateWithSensors()
throws org.lsst.ccs.bus.BadCommandException,
FcsHardwareException
CarouselModuleupdateClampsStateWithSensors in class CarouselModuleorg.lsst.ccs.bus.BadCommandExceptionFcsHardwareExceptionpublic 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 - : rotation angle
The rotation angle can be positive or negative.
It must be a double and have a value between -360.0 and 360.0public String stop()
Carouselstop in interface Carouselstop in class CarouselModulepublic String engageBrake()
CarouselengageBrake in interface CarouselengageBrake in class CarouselModulepublic String releaseBrake()
CarouselreleaseBrake in interface CarouselreleaseBrake in class CarouselModuleCopyright © 2014 LSST. All rights reserved.