public class Scale1ProtoTestBenchMainModule extends MainModule
| Modifier and Type | Field and Description |
|---|---|
double |
hygrometry |
double |
pressure |
double |
temperature |
bridge, haltRequired, hardwareReady| Constructor and Description |
|---|
Scale1ProtoTestBenchMainModule(String aName,
int aTickMillis,
BridgeToHardware bridge,
HygrometrySensor hygrometrySensor,
PressureSensor pressureSensor,
Thermometer thermometer,
CanOpenLED led,
CanOpenLED fakeLed,
Thermometer fakeSensor,
Scale1ProtoPivotingFrame pivotingFrame,
InclinometerModule inclinometer) |
| Modifier and Type | Method and Description |
|---|---|
double |
readFakeSensor() |
double |
readHygrometry() |
double |
readPressure() |
double |
readTemperature() |
void |
rotateCamera(long angle) |
void |
rotateX(long angle) |
void |
tick() |
String |
turnOffFakeLED() |
String |
turnOffLED() |
String |
turnOnFakeLED() |
String |
turnOnLED() |
controlRealHardware, initModule, isHardwareReady, listHardware, toStringalias, 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, 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, setChangedpublic double temperature
public double pressure
public double hygrometry
public Scale1ProtoTestBenchMainModule(String aName, int aTickMillis, BridgeToHardware bridge, HygrometrySensor hygrometrySensor, PressureSensor pressureSensor, Thermometer thermometer, CanOpenLED led, CanOpenLED fakeLed, Thermometer fakeSensor, Scale1ProtoPivotingFrame pivotingFrame, InclinometerModule inclinometer)
public double readHygrometry()
throws FcsHardwareException
FcsHardwareExceptionpublic double readPressure()
throws FcsHardwareException
FcsHardwareExceptionpublic double readTemperature()
throws FcsHardwareException
FcsHardwareExceptionpublic String turnOnLED() throws SDORequestException, HardwareNotDetectedException
public String turnOffLED() throws SDORequestException, HardwareNotDetectedException
public String turnOnFakeLED() throws SDORequestException, HardwareNotDetectedException
public String turnOffFakeLED() throws SDORequestException, HardwareNotDetectedException
public double readFakeSensor()
throws FcsHardwareException,
org.lsst.ccs.bus.BadCommandException
FcsHardwareExceptionorg.lsst.ccs.bus.BadCommandExceptionpublic void rotateCamera(long angle)
public void rotateX(long angle)
public void tick()
tick in class org.lsst.ccs.framework.ModuleCopyright © 2014 LSST. All rights reserved.