Class ProtobufArmFeedforward
java.lang.Object
us.hebi.quickbuf.ProtoMessage<ProtobufArmFeedforward>
org.wpilib.math.controller.proto.detail.ProtobufArmFeedforward
- All Implemented Interfaces:
Cloneable
public final class ProtobufArmFeedforward
extends us.hebi.quickbuf.ProtoMessage<ProtobufArmFeedforward>
implements Cloneable
Protobuf type
ProtobufArmFeedforward-
Field Summary
Fields inherited from class us.hebi.quickbuf.ProtoMessage
bitField0_, cachedSize, unknownBytesFieldName -
Method Summary
Modifier and TypeMethodDescriptionclear()clearDt()optional double dt = 5;clearKa()optional double ka = 4;clearKg()optional double kg = 2;clearKs()optional double ks = 1;clearKv()optional double kv = 3;clone()protected intcopyFrom(ProtobufArmFeedforward other) booleanstatic us.hebi.quickbuf.Descriptors.DescriptordoublegetDt()optional double dt = 5;static us.hebi.quickbuf.MessageFactory<ProtobufArmFeedforward> doublegetKa()optional double ka = 4;doublegetKg()optional double kg = 2;doublegetKs()optional double ks = 1;doublegetKv()optional double kv = 3;booleanhasDt()optional double dt = 5;booleanhasKa()optional double ka = 4;booleanhasKg()optional double kg = 2;booleanhasKs()optional double ks = 1;booleanhasKv()optional double kv = 3;booleanisEmpty()mergeFrom(ProtobufArmFeedforward other) mergeFrom(us.hebi.quickbuf.JsonSource input) mergeFrom(us.hebi.quickbuf.ProtoSource input) static ProtobufArmFeedforwardstatic ProtobufArmFeedforwardparseFrom(byte[] data) static ProtobufArmFeedforwardparseFrom(us.hebi.quickbuf.JsonSource input) static ProtobufArmFeedforwardparseFrom(us.hebi.quickbuf.ProtoSource input) setDt(double value) optional double dt = 5;setKa(double value) optional double ka = 4;setKg(double value) optional double kg = 2;setKs(double value) optional double ks = 1;setKv(double value) optional double kv = 3;voidwriteTo(us.hebi.quickbuf.JsonSink output) voidwriteTo(us.hebi.quickbuf.ProtoSink output) Methods inherited from class us.hebi.quickbuf.ProtoMessage
bytesDefaultValue, checkInitialized, getCachedSize, getMissingFields, getMissingFields, getMissingFields, getMissingFields, getSerializedSize, getUnknownBytes, hashCode, isInitialized, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, rethrowFromParent, toByteArray, toByteArray, toByteArray, toString, writeDelimitedTo
-
Method Details
-
newInstance
- Returns:
- a new empty instance of
ProtobufArmFeedforward
-
hasKs
public boolean hasKs()optional double ks = 1;- Returns:
- whether the ks field is set
-
clearKs
-
getKs
public double getKs()optional double ks = 1;- Returns:
- the ks
-
setKs
optional double ks = 1;- Parameters:
value- the ks to set- Returns:
- this
-
hasKg
public boolean hasKg()optional double kg = 2;- Returns:
- whether the kg field is set
-
clearKg
-
getKg
public double getKg()optional double kg = 2;- Returns:
- the kg
-
setKg
optional double kg = 2;- Parameters:
value- the kg to set- Returns:
- this
-
hasKv
public boolean hasKv()optional double kv = 3;- Returns:
- whether the kv field is set
-
clearKv
-
getKv
public double getKv()optional double kv = 3;- Returns:
- the kv
-
setKv
optional double kv = 3;- Parameters:
value- the kv to set- Returns:
- this
-
hasKa
public boolean hasKa()optional double ka = 4;- Returns:
- whether the ka field is set
-
clearKa
-
getKa
public double getKa()optional double ka = 4;- Returns:
- the ka
-
setKa
optional double ka = 4;- Parameters:
value- the ka to set- Returns:
- this
-
hasDt
public boolean hasDt()optional double dt = 5;- Returns:
- whether the dt field is set
-
clearDt
-
getDt
public double getDt()optional double dt = 5;- Returns:
- the dt
-
setDt
optional double dt = 5;- Parameters:
value- the dt to set- Returns:
- this
-
copyFrom
- Specified by:
copyFromin classus.hebi.quickbuf.ProtoMessage<ProtobufArmFeedforward>
-
mergeFrom
- Overrides:
mergeFromin classus.hebi.quickbuf.ProtoMessage<ProtobufArmFeedforward>
-
clear
- Specified by:
clearin classus.hebi.quickbuf.ProtoMessage<ProtobufArmFeedforward>
-
clearQuick
- Overrides:
clearQuickin classus.hebi.quickbuf.ProtoMessage<ProtobufArmFeedforward>
-
equals
- Specified by:
equalsin classus.hebi.quickbuf.ProtoMessage<ProtobufArmFeedforward>
-
writeTo
- Specified by:
writeToin classus.hebi.quickbuf.ProtoMessage<ProtobufArmFeedforward>- Throws:
IOException
-
computeSerializedSize
protected int computeSerializedSize()- Specified by:
computeSerializedSizein classus.hebi.quickbuf.ProtoMessage<ProtobufArmFeedforward>
-
mergeFrom
- Specified by:
mergeFromin classus.hebi.quickbuf.ProtoMessage<ProtobufArmFeedforward>- Throws:
IOException
-
writeTo
- Overrides:
writeToin classus.hebi.quickbuf.ProtoMessage<ProtobufArmFeedforward>- Throws:
IOException
-
mergeFrom
- Overrides:
mergeFromin classus.hebi.quickbuf.ProtoMessage<ProtobufArmFeedforward>- Throws:
IOException
-
clone
- Specified by:
clonein classus.hebi.quickbuf.ProtoMessage<ProtobufArmFeedforward>
-
isEmpty
public boolean isEmpty()- Overrides:
isEmptyin classus.hebi.quickbuf.ProtoMessage<ProtobufArmFeedforward>
-
parseFrom
public static ProtobufArmFeedforward parseFrom(byte[] data) throws us.hebi.quickbuf.InvalidProtocolBufferException - Throws:
us.hebi.quickbuf.InvalidProtocolBufferException
-
parseFrom
public static ProtobufArmFeedforward parseFrom(us.hebi.quickbuf.ProtoSource input) throws IOException - Throws:
IOException
-
parseFrom
public static ProtobufArmFeedforward parseFrom(us.hebi.quickbuf.JsonSource input) throws IOException - Throws:
IOException
-
getFactory
- Returns:
- factory for creating ProtobufArmFeedforward messages
-
getDescriptor
public static us.hebi.quickbuf.Descriptors.Descriptor getDescriptor()- Returns:
- this type's descriptor.
-