public class LynxGetBulkInputDataResponse extends LynxDekaInterfaceResponse
| Modifier and Type | Field and Description |
|---|---|
int |
cbPayload |
RESPONSE_BITackOrNackReceived, isAckOrResponseReceived, nackReceived, response, responseOrNackReceived, retransmissionsRemaininghasBeenTransmitted, messageNumber, module, nanotimeLastTransmit, payloadTimeWindow, referenceNumber, serialization| Constructor and Description |
|---|
LynxGetBulkInputDataResponse(LynxModuleIntf module) |
| Modifier and Type | Method and Description |
|---|---|
void |
fromPayloadByteArray(byte[] rgb) |
int |
getAnalogInput(int inputZ)
Returns the analog input in mV
|
boolean |
getDigitalInput(int digitalInputZ) |
int |
getEncoder(int motorZ) |
int |
getVelocity(int motorZ)
Returns (signed) motor velocity in encoder counts per second
|
boolean |
isAtTarget(int motorZ) |
boolean |
isOverCurrent(int motorZ) |
byte[] |
toPayloadByteArray() |
getInterfacegetBaseCommandNumber, getCommandNumber, getInterfaceResponseIndexisResponse, isResponseExpectedawaitAckResponseOrNack, awaitAndRetransmit, getMsAwaitInterval, getMsRetransmissionInterval, getNackReceived, hasBeenAcknowledged, isAckable, isAckOrResponseReceived, isNackReceived, isRetransmittable, noteAttentionRequired, noteRetransmission, onAckReceived, onNackReceived, onPretendTransmit, onResponseReceived, pretendFinish, responseOrThrow, send, sendReceive, setUnretransmittable, throwIfNack, throwNackForUnsupportedCommand, usePretendResponseIfRealModuleDoesntSupportacquireNetworkLock, forgetSerialization, getDestModuleAddress, getMessageNumber, getModule, getModuleAddress, getNanotimeLastTransmit, getPayloadTimeWindow, getReferenceNumber, getSerialization, hasBeenTransmitted, invokeStaticNullaryMethod, isAck, isNack, loadFromSerialization, noteHasBeenTransmitted, releaseNetworkLock, resetModulePingTimer, setMessageNumber, setModule, setNanotimeLastTransmit, setPayloadTimeWindow, setReferenceNumber, setSerializationpublic final int cbPayload
public LynxGetBulkInputDataResponse(LynxModuleIntf module)
public boolean getDigitalInput(int digitalInputZ)
public int getEncoder(int motorZ)
public int getVelocity(int motorZ)
public boolean isAtTarget(int motorZ)
public boolean isOverCurrent(int motorZ)
public int getAnalogInput(int inputZ)
public byte[] toPayloadByteArray()
toPayloadByteArray in class LynxMessagepublic void fromPayloadByteArray(byte[] rgb)
fromPayloadByteArray in class LynxMessage