public class InclinometerModule
extends org.lsst.ccs.framework.Module
| Constructor and Description |
|---|
InclinometerModule(String plutoGatewayName)
Build an InclinometerModule with the name of the plutoGateway.
|
| 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()
Read the inclinaison on the plutoGateway, updates the field inclinaison.
|
getNObserverThreads, getObservables, getTickMillis, init, listens, processUpdate, sendSignal, sendSignalWithTimeLimit, 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, dropSubmittedChanges, getChildren, getComponentByName, getEnvironment, getParent, getParentObject, getSubmittedChanges, isParameterConfigurable, postStart, printConfigurableParameters, setBulkParameter, start, submitChange, submitChanges, validateBulkChangepublic InclinometerModule(String plutoGatewayName)
plutoGatewayName - public void initModule()
initModule in class org.lsst.ccs.framework.Module@Command(type=QUERY,
level=1,
description="Reads the inclinometer and returns inclinaison.")
public double readInclinaison()
FcsHardwareException@Command(type=QUERY,
level=1,
description="Reads the inclinometer and returns inclinaison.")
public void updateInclinaison()
FcsHardwareExceptionpublic static double convertVoltage2Degree(int voltage)
voltage - Copyright © 2016 LSST. All rights reserved.