
public class ForceSensor
extends org.lsst.ccs.framework.Module
| Modifier and Type | Field and Description |
|---|---|
double |
transfert_coeff
transfert function coefficient
|
double |
transfert_Constante
transfert function constante
|
| Constructor and Description |
|---|
ForceSensor(int byteNumero)
Builds a ForceSensor with a byte number.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getByteNumero()
return byteNumero
used by simulation
|
double |
getForce()
returns force value read on force senor in Newton.
|
FcsEnumerations.LockStatus |
getForceStatus()
return force Status
|
double |
getTransfert_coeff() |
double |
getTransfert_Constante() |
int |
getVoltage()
Returns voltage value read on force sensor in mV.
|
boolean |
isClamped() |
double |
transfertFunction(int tension)
Computes force value from voltage given as argument.
|
void |
updateForce(String[] hexaValues)
updates voltage of force sensor from an array of hexa values.
|
getNObserverThreads, getObservables, getTickMillis, init, initModule, listens, processUpdate, setNObserverThreads, setObservables, setTickMillis, shutdownNow, 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, printConfigurableParameters, setBulkParameter, submitChange, submitChanges, validateBulkChangesetParameterBulkpostInit, postShutdown, postStart, start@ConfigurationParameter public double transfert_coeff
@ConfigurationParameter public double transfert_Constante
public ForceSensor(int byteNumero)
byteNumero - @Command(type=ACTION, level=1, description="Returns force sensor analog Value. Unit= mV") public int getVoltage()
@Command(type=ACTION, level=1, description="Returns force sensor value in Newton. Unit = N") public double getForce()
public FcsEnumerations.LockStatus getForceStatus()
public int getByteNumero()
public double getTransfert_coeff()
public double getTransfert_Constante()
public void updateForce(String[] hexaValues)
hexaValues - public double transfertFunction(int tension)
tension - @Command(type=ACTION, level=1, description="Returns true if force sensor value is in range values where clamp is clamped.") public boolean isClamped()
Copyright © 2017 LSST. All rights reserved.