public class LynxSetMotorPIDFControlLoopCoefficientsCommand extends LynxDekaInterfaceCommand<LynxAck>
Modifier and Type | Class and Description |
---|---|
static class |
LynxSetMotorPIDFControlLoopCoefficientsCommand.InternalMotorControlAlgorithm |
theInterface, theInterfaceName
ackOrNackReceived, isAckOrResponseReceived, nackReceived, response, responseOrNackReceived, retransmissionsRemaining
hasBeenTransmitted, messageNumber, module, nanotimeLastTransmit, payloadTimeWindow, referenceNumber, serialization
Constructor and Description |
---|
LynxSetMotorPIDFControlLoopCoefficientsCommand(LynxModuleIntf module) |
LynxSetMotorPIDFControlLoopCoefficientsCommand(LynxModuleIntf module,
int motorZ,
DcMotor.RunMode mode,
int p,
int i,
int d,
int f,
LynxSetMotorPIDFControlLoopCoefficientsCommand.InternalMotorControlAlgorithm motorControlAlgorithm) |
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() |
getInterface
getBaseCommandNumber, getCommandNumber, getInterfaceCommandIndex
getResponseClass
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, isResponse, loadFromSerialization, noteHasBeenTransmitted, releaseNetworkLock, resetModulePingTimer, setMessageNumber, setModule, setNanotimeLastTransmit, setPayloadTimeWindow, setReferenceNumber, setSerialization
public LynxSetMotorPIDFControlLoopCoefficientsCommand(LynxModuleIntf module)
public LynxSetMotorPIDFControlLoopCoefficientsCommand(LynxModuleIntf module, int motorZ, DcMotor.RunMode mode, int p, int i, int d, int f, LynxSetMotorPIDFControlLoopCoefficientsCommand.InternalMotorControlAlgorithm motorControlAlgorithm)
public boolean isResponseExpected()
LynxMessage
isResponseExpected
in class LynxMessage
public byte[] toPayloadByteArray()
toPayloadByteArray
in class LynxMessage
public void fromPayloadByteArray(byte[] rgb)
fromPayloadByteArray
in class LynxMessage