public static final class ShutterStatus.AxisStatus extends Object implements Serializable
ShutterStatus message. Immutable.| Constructor and Description |
|---|
AxisStatus(double actPos,
double actVel,
double setAcc,
boolean enabled,
boolean brakeEngaged,
boolean lowLimit,
boolean highLimit,
boolean isHomed,
int errorID,
double motorTemp)
Constructs from scratch.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
atHighLimit()
Is the axis at the high limit switch?
|
boolean |
atLowLimit()
Is the axis at the the low limit switch?
|
double |
getActPos()
Gets the actual position of the axis.
|
double |
getActVel()
Gets the actual velocity of the axis.
|
int |
getErrorID()
Gets the error code for the axis.
|
double |
getMotorTemp()
Gets the axis motor temperature reading.
|
double |
getSetAcc()
Gets the "set", or commanded, acceleration of the axis.
|
boolean |
isBrakeEngaged()
Is the brake set on this axis?
|
boolean |
isEnabled()
Is the axis enabled for motion?
|
boolean |
isHomed()
Has the homing operation been performed on this axis since the last controller reset?
|
String |
toString()
Constructs a string of the form 'AxisStatus{fieldname=value, ...}'
|
public AxisStatus(double actPos,
double actVel,
double setAcc,
boolean enabled,
boolean brakeEngaged,
boolean lowLimit,
boolean highLimit,
boolean isHomed,
int errorID,
double motorTemp)
actPos - See getActPos()actVel - See getActVel()setAcc - See getSetAcc()enabled - See isEnabled()brakeEngaged - See isBrakeEngaged()lowLimit - See atLowLimit()highLimit - See atHighLimit()isHomed - See isHomed()errorID - See getErrorID()motorTemp - See getMotorTemp()public String toString()
public double getActPos()
public double getActVel()
public double getSetAcc()
public boolean isEnabled()
public boolean isBrakeEngaged()
public boolean atLowLimit()
public boolean atHighLimit()
public boolean isHomed()
public int getErrorID()
public double getMotorTemp()
Copyright © 2020 LSST. All rights reserved.