Package edu.wpi.first.math.proto
Class Controller.ProtobufArmFeedforward
java.lang.Object
us.hebi.quickbuf.ProtoMessage<Controller.ProtobufArmFeedforward>
edu.wpi.first.math.proto.Controller.ProtobufArmFeedforward
- All Implemented Interfaces:
Cloneable
- Enclosing class:
- Controller
public static final class Controller.ProtobufArmFeedforward
extends us.hebi.quickbuf.ProtoMessage<Controller.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 int
boolean
static us.hebi.quickbuf.Descriptors.Descriptor
double
getDt()
optional double dt = 5;
static us.hebi.quickbuf.MessageFactory<Controller.ProtobufArmFeedforward>
double
getKa()
optional double ka = 4;
double
getKg()
optional double kg = 2;
double
getKs()
optional double ks = 1;
double
getKv()
optional double kv = 3;
boolean
hasDt()
optional double dt = 5;
boolean
hasKa()
optional double ka = 4;
boolean
hasKg()
optional double kg = 2;
boolean
hasKs()
optional double ks = 1;
boolean
hasKv()
optional double kv = 3;
boolean
isEmpty()
mergeFrom
(us.hebi.quickbuf.JsonSource input) mergeFrom
(us.hebi.quickbuf.ProtoSource input) parseFrom
(byte[] data) parseFrom
(us.hebi.quickbuf.JsonSource input) parseFrom
(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;
void
writeTo
(us.hebi.quickbuf.JsonSink output) void
writeTo
(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
optional double ks = 1;
- Returns:
- whether the ks field is set
-
clearKs
optional double ks = 1;
- Returns:
- this
-
getKs
optional double ks = 1;
- Returns:
- the ks
-
setKs
optional double ks = 1;
- Parameters:
value
- the ks to set- Returns:
- this
-
hasKg
optional double kg = 2;
- Returns:
- whether the kg field is set
-
clearKg
optional double kg = 2;
- Returns:
- this
-
getKg
optional double kg = 2;
- Returns:
- the kg
-
setKg
optional double kg = 2;
- Parameters:
value
- the kg to set- Returns:
- this
-
hasKv
optional double kv = 3;
- Returns:
- whether the kv field is set
-
clearKv
optional double kv = 3;
- Returns:
- this
-
getKv
optional double kv = 3;
- Returns:
- the kv
-
setKv
optional double kv = 3;
- Parameters:
value
- the kv to set- Returns:
- this
-
hasKa
optional double ka = 4;
- Returns:
- whether the ka field is set
-
clearKa
optional double ka = 4;
- Returns:
- this
-
getKa
optional double ka = 4;
- Returns:
- the ka
-
setKa
optional double ka = 4;
- Parameters:
value
- the ka to set- Returns:
- this
-
hasDt
optional double dt = 5;
- Returns:
- whether the dt field is set
-
clearDt
optional double dt = 5;
- Returns:
- this
-
getDt
optional double dt = 5;
- Returns:
- the dt
-
setDt
optional double dt = 5;
- Parameters:
value
- the dt to set- Returns:
- this
-
copyFrom
- Specified by:
copyFrom
in classus.hebi.quickbuf.ProtoMessage<Controller.ProtobufArmFeedforward>
-
mergeFrom
- Overrides:
mergeFrom
in classus.hebi.quickbuf.ProtoMessage<Controller.ProtobufArmFeedforward>
-
clear
- Specified by:
clear
in classus.hebi.quickbuf.ProtoMessage<Controller.ProtobufArmFeedforward>
-
clearQuick
- Overrides:
clearQuick
in classus.hebi.quickbuf.ProtoMessage<Controller.ProtobufArmFeedforward>
-
equals
- Specified by:
equals
in classus.hebi.quickbuf.ProtoMessage<Controller.ProtobufArmFeedforward>
-
writeTo
- Specified by:
writeTo
in classus.hebi.quickbuf.ProtoMessage<Controller.ProtobufArmFeedforward>
- Throws:
IOException
-
computeSerializedSize
- Specified by:
computeSerializedSize
in classus.hebi.quickbuf.ProtoMessage<Controller.ProtobufArmFeedforward>
-
mergeFrom
public Controller.ProtobufArmFeedforward mergeFrom(us.hebi.quickbuf.ProtoSource input) throws IOException - Specified by:
mergeFrom
in classus.hebi.quickbuf.ProtoMessage<Controller.ProtobufArmFeedforward>
- Throws:
IOException
-
writeTo
- Overrides:
writeTo
in classus.hebi.quickbuf.ProtoMessage<Controller.ProtobufArmFeedforward>
- Throws:
IOException
-
mergeFrom
public Controller.ProtobufArmFeedforward mergeFrom(us.hebi.quickbuf.JsonSource input) throws IOException - Overrides:
mergeFrom
in classus.hebi.quickbuf.ProtoMessage<Controller.ProtobufArmFeedforward>
- Throws:
IOException
-
clone
- Specified by:
clone
in classus.hebi.quickbuf.ProtoMessage<Controller.ProtobufArmFeedforward>
-
isEmpty
- Overrides:
isEmpty
in classus.hebi.quickbuf.ProtoMessage<Controller.ProtobufArmFeedforward>
-
parseFrom
public static Controller.ProtobufArmFeedforward parseFrom(byte[] data) throws us.hebi.quickbuf.InvalidProtocolBufferException - Throws:
us.hebi.quickbuf.InvalidProtocolBufferException
-
parseFrom
public static Controller.ProtobufArmFeedforward parseFrom(us.hebi.quickbuf.ProtoSource input) throws IOException - Throws:
IOException
-
parseFrom
public static Controller.ProtobufArmFeedforward parseFrom(us.hebi.quickbuf.JsonSource input) throws IOException - Throws:
IOException
-
getFactory
- Returns:
- factory for creating ProtobufArmFeedforward messages
-
getDescriptor
- Returns:
- this type's descriptor.
-