public class CalibDone extends MsgToCCS
MESSAGE_SET_VERSION| Constructor and Description |
|---|
CalibDone(ByteBuffer data)
Reads and converts the PLC form of the message.
|
CalibDone(int sequence,
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)
Puts the sequence number into a data 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.
|
getVersion, messageVersionIsBadpublic CalibDone(int sequence,
DoubleSupplier supplier)
public CalibDone(ByteBuffer data)
data - The PLC message data.public void encode(ByteBuffer data)
MsgToCCSpublic double[] getHallTransitions(Axis axis, Direction direction)
axis - The axis.direction - The direction of travel.public String toString()
PLCMsgtoString in class MsgToCCSCopyright © 2019 LSST. All rights reserved.