public class LynxSetMotorPIDControlLoopCoefficientsCommand extends LynxDekaInterfaceCommand<LynxAck>
theInterface, theInterfaceNameackOrNackReceived, isAckOrResponseReceived, nackReceived, response, responseOrNackReceived, retransmissionsRemaininghasBeenTransmitted, messageNumber, module, nanotimeLastTransmit, payloadTimeWindow, referenceNumber, serialization| Constructor and Description |
|---|
LynxSetMotorPIDControlLoopCoefficientsCommand(LynxModuleIntf module) |
LynxSetMotorPIDControlLoopCoefficientsCommand(LynxModuleIntf module,
int motorZ,
DcMotor.RunMode mode,
int p,
int i,
int d) |
| Modifier and Type | Method and Description |
|---|---|
static double |
externalCoefficientFromInternal(int coefficient) |
void |
fromPayloadByteArray(byte[] rgb) |
static int |
internalCoefficientFromExternal(double coefficient) |
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 LynxSetMotorPIDControlLoopCoefficientsCommand(LynxModuleIntf module)
public LynxSetMotorPIDControlLoopCoefficientsCommand(LynxModuleIntf module, int motorZ, DcMotor.RunMode mode, int p, int i, int d)
public static int internalCoefficientFromExternal(double coefficient)
public static double externalCoefficientFromInternal(int coefficient)
public boolean isResponseExpected()
LynxMessageisResponseExpected in class LynxMessagepublic byte[] toPayloadByteArray()
toPayloadByteArray in class LynxMessagepublic void fromPayloadByteArray(byte[] rgb)
fromPayloadByteArray in class LynxMessage