Package edu.wpi.first.math.proto
Class Controller.ProtobufDifferentialDriveFeedforward
java.lang.Object
us.hebi.quickbuf.ProtoMessage<Controller.ProtobufDifferentialDriveFeedforward>
edu.wpi.first.math.proto.Controller.ProtobufDifferentialDriveFeedforward
- All Implemented Interfaces:
Cloneable
- Enclosing class:
- Controller
public static final class Controller.ProtobufDifferentialDriveFeedforward extends us.hebi.quickbuf.ProtoMessage<Controller.ProtobufDifferentialDriveFeedforward> implements Cloneable
Protobuf type
ProtobufDifferentialDriveFeedforward
-
Field Summary
-
Method Summary
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
ProtobufDifferentialDriveFeedforward
-
hasKvLinear
optional double kv_linear = 1;
- Returns:
- whether the kvLinear field is set
-
clearKvLinear
optional double kv_linear = 1;
- Returns:
- this
-
getKvLinear
optional double kv_linear = 1;
- Returns:
- the kvLinear
-
setKvLinear
optional double kv_linear = 1;
- Parameters:
value
- the kvLinear to set- Returns:
- this
-
hasKaLinear
optional double ka_linear = 2;
- Returns:
- whether the kaLinear field is set
-
clearKaLinear
optional double ka_linear = 2;
- Returns:
- this
-
getKaLinear
optional double ka_linear = 2;
- Returns:
- the kaLinear
-
setKaLinear
optional double ka_linear = 2;
- Parameters:
value
- the kaLinear to set- Returns:
- this
-
hasKvAngular
optional double kv_angular = 3;
- Returns:
- whether the kvAngular field is set
-
clearKvAngular
optional double kv_angular = 3;
- Returns:
- this
-
getKvAngular
optional double kv_angular = 3;
- Returns:
- the kvAngular
-
setKvAngular
optional double kv_angular = 3;
- Parameters:
value
- the kvAngular to set- Returns:
- this
-
hasKaAngular
optional double ka_angular = 4;
- Returns:
- whether the kaAngular field is set
-
clearKaAngular
optional double ka_angular = 4;
- Returns:
- this
-
getKaAngular
optional double ka_angular = 4;
- Returns:
- the kaAngular
-
setKaAngular
optional double ka_angular = 4;
- Parameters:
value
- the kaAngular to set- Returns:
- this
-
copyFrom
public Controller.ProtobufDifferentialDriveFeedforward copyFrom(Controller.ProtobufDifferentialDriveFeedforward other)- Specified by:
copyFrom
in classus.hebi.quickbuf.ProtoMessage<Controller.ProtobufDifferentialDriveFeedforward>
-
mergeFrom
public Controller.ProtobufDifferentialDriveFeedforward mergeFrom(Controller.ProtobufDifferentialDriveFeedforward other)- Overrides:
mergeFrom
in classus.hebi.quickbuf.ProtoMessage<Controller.ProtobufDifferentialDriveFeedforward>
-
clear
- Specified by:
clear
in classus.hebi.quickbuf.ProtoMessage<Controller.ProtobufDifferentialDriveFeedforward>
-
clearQuick
- Overrides:
clearQuick
in classus.hebi.quickbuf.ProtoMessage<Controller.ProtobufDifferentialDriveFeedforward>
-
equals
- Specified by:
equals
in classus.hebi.quickbuf.ProtoMessage<Controller.ProtobufDifferentialDriveFeedforward>
-
writeTo
- Specified by:
writeTo
in classus.hebi.quickbuf.ProtoMessage<Controller.ProtobufDifferentialDriveFeedforward>
- Throws:
IOException
-
computeSerializedSize
- Specified by:
computeSerializedSize
in classus.hebi.quickbuf.ProtoMessage<Controller.ProtobufDifferentialDriveFeedforward>
-
mergeFrom
public Controller.ProtobufDifferentialDriveFeedforward mergeFrom(us.hebi.quickbuf.ProtoSource input) throws IOException- Specified by:
mergeFrom
in classus.hebi.quickbuf.ProtoMessage<Controller.ProtobufDifferentialDriveFeedforward>
- Throws:
IOException
-
writeTo
- Overrides:
writeTo
in classus.hebi.quickbuf.ProtoMessage<Controller.ProtobufDifferentialDriveFeedforward>
- Throws:
IOException
-
mergeFrom
public Controller.ProtobufDifferentialDriveFeedforward mergeFrom(us.hebi.quickbuf.JsonSource input) throws IOException- Overrides:
mergeFrom
in classus.hebi.quickbuf.ProtoMessage<Controller.ProtobufDifferentialDriveFeedforward>
- Throws:
IOException
-
clone
- Specified by:
clone
in classus.hebi.quickbuf.ProtoMessage<Controller.ProtobufDifferentialDriveFeedforward>
-
isEmpty
- Overrides:
isEmpty
in classus.hebi.quickbuf.ProtoMessage<Controller.ProtobufDifferentialDriveFeedforward>
-
parseFrom
public static Controller.ProtobufDifferentialDriveFeedforward parseFrom(byte[] data) throws us.hebi.quickbuf.InvalidProtocolBufferException- Throws:
us.hebi.quickbuf.InvalidProtocolBufferException
-
parseFrom
public static Controller.ProtobufDifferentialDriveFeedforward parseFrom(us.hebi.quickbuf.ProtoSource input) throws IOException- Throws:
IOException
-
parseFrom
public static Controller.ProtobufDifferentialDriveFeedforward parseFrom(us.hebi.quickbuf.JsonSource input) throws IOException- Throws:
IOException
-
getFactory
public static us.hebi.quickbuf.MessageFactory<Controller.ProtobufDifferentialDriveFeedforward> getFactory()- Returns:
- factory for creating ProtobufDifferentialDriveFeedforward messages
-
getDescriptor
- Returns:
- this type's descriptor.
-