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() |
alias, getComponentTree, getEnvironment, getModule, getName, getNObserverThreads, getObservables, getSubsystem, getTickMillis, init, listens, percolateSignal, postStart, processUpdate, sendSignal, sendSignalWithTimeLimit, setEnvironment, setName, setNObserverThreads, setObservables, setTickMillis, shutdownNow, signal, startTicking, tick, updateaddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedpublic 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 © 2015 LSST. All rights reserved.