
public class ForceSensor extends Object
| 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(int[] hexaValues)
updates voltage of force sensor from an array of hexa values.
|
@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(int[] 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.