public class InclinometerModule
extends org.lsst.ccs.framework.Module
| Constructor and Description |
|---|
InclinometerModule(String name,
int tickMillis,
String plutoGatewayName) |
| Modifier and Type | Method and Description |
|---|---|
static double |
convertVoltage2Degree(int voltage)
Concert a voltage in volt between 0.5 and 4.5 volts.
|
void |
initModule() |
double |
readInclinaison()
Read the inclinaison on the plutoGateway, updates the filed inclinaison
and returns its value in degrees.
|
void |
updateInclinaison() |
getComponentTree, getEnvironment, getModule, getName, getNObserverThreads, getObservables, getSubsystem, getTickMillis, init, listens, postStart, processUpdate, sendSignal, sendSignalWithTimeLimit, setEnvironment, setName, setNObserverThreads, setObservables, setTickMillis, shutdownNow, signal, startTicking, tick, updateaddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchange, getCheckedValueFromConfiguration, getChildren, getComponentByName, getFullPath, getParent, getParentObject, injectResources, listChildren, notifyChange, notifyChangeWithoutPreliminaryChecks, setBulkParameter, start, submitChange, submitChanges, validateBulkChangepublic void initModule()
initModule in class org.lsst.ccs.framework.Modulepublic double readInclinaison()
throws FcsHardwareException
FcsHardwareExceptionpublic void updateInclinaison()
throws FcsHardwareException
FcsHardwareExceptionpublic static double convertVoltage2Degree(int voltage)
voltage - Copyright © 2016 LSST. All rights reserved.