public class LynxGetMotorEncoderPositionResponse extends LynxDekaInterfaceResponse
RESPONSE_BIT
ackOrNackReceived, isAckOrResponseReceived, nackReceived, response, responseOrNackReceived, retransmissionsRemaining
hasBeenTransmitted, messageNumber, module, nanotimeLastTransmit, payloadTimeWindow, referenceNumber, serialization
Constructor and Description |
---|
LynxGetMotorEncoderPositionResponse(LynxModuleIntf module) |
Modifier and Type | Method and Description |
---|---|
void |
fromPayloadByteArray(byte[] rgb) |
int |
getPosition() |
byte[] |
toPayloadByteArray() |
getInterface
getBaseCommandNumber, getCommandNumber, getInterfaceResponseIndex
isResponse, isResponseExpected
awaitAckResponseOrNack, awaitAndRetransmit, getMsAwaitInterval, getMsRetransmissionInterval, getNackReceived, hasBeenAcknowledged, isAckable, isAckOrResponseReceived, isNackReceived, isRetransmittable, noteAttentionRequired, noteRetransmission, onAckReceived, onNackReceived, onPretendTransmit, onResponseReceived, pretendFinish, responseOrThrow, send, sendReceive, setUnretransmittable, throwIfNack, throwNackForUnsupportedCommand, usePretendResponseIfRealModuleDoesntSupport
acquireNetworkLock, forgetSerialization, getDestModuleAddress, getMessageNumber, getModule, getModuleAddress, getNanotimeLastTransmit, getPayloadTimeWindow, getReferenceNumber, getSerialization, hasBeenTransmitted, invokeStaticNullaryMethod, isAck, isNack, loadFromSerialization, noteHasBeenTransmitted, releaseNetworkLock, resetModulePingTimer, setMessageNumber, setModule, setNanotimeLastTransmit, setPayloadTimeWindow, setReferenceNumber, setSerialization
public LynxGetMotorEncoderPositionResponse(LynxModuleIntf module)
public int getPosition()
public byte[] toPayloadByteArray()
toPayloadByteArray
in class LynxMessage
public void fromPayloadByteArray(byte[] rgb)
fromPayloadByteArray
in class LynxMessage