public class LynxSetServoPulseWidthCommand extends LynxDekaInterfaceCommand<LynxAck>
| Modifier and Type | Field and Description |
|---|---|
static int |
apiPulseWidthFirst |
static int |
apiPulseWidthLast |
static int |
cbPayload |
theInterface, theInterfaceNameackOrNackReceived, isAckOrResponseReceived, nackReceived, response, responseOrNackReceived, retransmissionsRemaininghasBeenTransmitted, messageNumber, module, nanotimeLastTransmit, payloadTimeWindow, referenceNumber, serialization| Constructor and Description |
|---|
LynxSetServoPulseWidthCommand(LynxModuleIntf module) |
LynxSetServoPulseWidthCommand(LynxModuleIntf module,
int channelZ,
int usPulseWidth) |
| Modifier and Type | Method and Description |
|---|---|
void |
fromPayloadByteArray(byte[] rgb) |
boolean |
isResponseExpected()
Returns whether this message will generate a response message in return.
|
byte[] |
toPayloadByteArray() |
getInterfacegetBaseCommandNumber, getCommandNumber, getInterfaceCommandIndexgetResponseClassawaitAckResponseOrNack, 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, isResponse, loadFromSerialization, noteHasBeenTransmitted, releaseNetworkLock, resetModulePingTimer, setMessageNumber, setModule, setNanotimeLastTransmit, setPayloadTimeWindow, setReferenceNumber, setSerializationpublic static final int cbPayload
public static final int apiPulseWidthFirst
public static final int apiPulseWidthLast
public LynxSetServoPulseWidthCommand(LynxModuleIntf module)
public LynxSetServoPulseWidthCommand(LynxModuleIntf module, int channelZ, int usPulseWidth)
public boolean isResponseExpected()
LynxMessageisResponseExpected in class LynxMessagepublic byte[] toPayloadByteArray()
toPayloadByteArray in class LynxMessagepublic void fromPayloadByteArray(byte[] rgb)
fromPayloadByteArray in class LynxMessage