
public class CalibDone extends PLCMsg
MESSAGE_SET_VERSION| Constructor and Description |
|---|
CalibDone(ByteBuffer data)
Reads and converts the PLC form of the message.
|
CalibDone(DoubleSupplier supplier)
Takes a supply of double values and uses them to fill the internal array
of Hall transition positions which has dimensions
[no.
|
| Modifier and Type | Method and Description |
|---|---|
void |
encode(ByteBuffer data)
Converts the message fields to PLC form and appends them to a byte buffer.
|
double[] |
getHallTransitions(Axis axis,
Direction direction)
Returns the set of Hall transition positions for a given axis and direction of travel.
|
String |
toString()
Converts the message to a readable string.
|
getVersionpublic CalibDone(DoubleSupplier supplier)
public CalibDone(ByteBuffer data)
data - The PLC message data.public void encode(ByteBuffer data)
PLCMsgpublic double[] getHallTransitions(Axis axis, Direction direction)
axis - The axis.direction - The direction of travel.public String toString()
PLCMsgtoString in class PLCMsgCopyright © 2019 LSST. All rights reserved.