
public class Inclinometer extends Object
| Constructor and Description |
|---|
Inclinometer(PlutoGatewayInterface plutoGateway,
int byteNumero)
Build an Inclinometer with the numero of byte read on the device.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getInclinaison()
Returns inclinaison value in degrees.
|
double |
readInclinaison()
Read new value for inclinometer on plutoGateway and return inclinaison.
|
void |
updateInclinaison(int[] hexaValues)
Updates inclinaison from array of hexaValues.
|
public Inclinometer(PlutoGatewayInterface plutoGateway, int byteNumero)
plutoGateway - byteNumero - @Command(type=QUERY, level=1, description="Returns inclinaison value in degrees. Doesn\'t read again CANopen device.") public double getInclinaison()
@Command(type=QUERY, level=1, description="Reads the inclinometer and returns inclinaison.") public void updateInclinaison(int[] hexaValues)
hexaValues - FcsHardwareException@Command(type=QUERY, level=1, description="Reads new value for inclinometer and returns inclinaison.") public double readInclinaison()
Copyright © 2017 LSST. All rights reserved.