Package edu.wpi.first.math.proto
Class Controller.ProtobufElevatorFeedforward
java.lang.Object
us.hebi.quickbuf.ProtoMessage<Controller.ProtobufElevatorFeedforward>
edu.wpi.first.math.proto.Controller.ProtobufElevatorFeedforward
- All Implemented Interfaces:
Cloneable
- Enclosing class:
- Controller
public static final class Controller.ProtobufElevatorFeedforward extends us.hebi.quickbuf.ProtoMessage<Controller.ProtobufElevatorFeedforward> implements Cloneable
Protobuf type
ProtobufElevatorFeedforward
-
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
ProtobufElevatorFeedforward
-
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
-
copyFrom
public Controller.ProtobufElevatorFeedforward copyFrom(Controller.ProtobufElevatorFeedforward other)- Specified by:
copyFrom
in classus.hebi.quickbuf.ProtoMessage<Controller.ProtobufElevatorFeedforward>
-
mergeFrom
public Controller.ProtobufElevatorFeedforward mergeFrom(Controller.ProtobufElevatorFeedforward other)- Overrides:
mergeFrom
in classus.hebi.quickbuf.ProtoMessage<Controller.ProtobufElevatorFeedforward>
-
clear
- Specified by:
clear
in classus.hebi.quickbuf.ProtoMessage<Controller.ProtobufElevatorFeedforward>
-
clearQuick
- Overrides:
clearQuick
in classus.hebi.quickbuf.ProtoMessage<Controller.ProtobufElevatorFeedforward>
-
equals
- Specified by:
equals
in classus.hebi.quickbuf.ProtoMessage<Controller.ProtobufElevatorFeedforward>
-
writeTo
- Specified by:
writeTo
in classus.hebi.quickbuf.ProtoMessage<Controller.ProtobufElevatorFeedforward>
- Throws:
IOException
-
computeSerializedSize
- Specified by:
computeSerializedSize
in classus.hebi.quickbuf.ProtoMessage<Controller.ProtobufElevatorFeedforward>
-
mergeFrom
public Controller.ProtobufElevatorFeedforward mergeFrom(us.hebi.quickbuf.ProtoSource input) throws IOException- Specified by:
mergeFrom
in classus.hebi.quickbuf.ProtoMessage<Controller.ProtobufElevatorFeedforward>
- Throws:
IOException
-
writeTo
- Overrides:
writeTo
in classus.hebi.quickbuf.ProtoMessage<Controller.ProtobufElevatorFeedforward>
- Throws:
IOException
-
mergeFrom
public Controller.ProtobufElevatorFeedforward mergeFrom(us.hebi.quickbuf.JsonSource input) throws IOException- Overrides:
mergeFrom
in classus.hebi.quickbuf.ProtoMessage<Controller.ProtobufElevatorFeedforward>
- Throws:
IOException
-
clone
- Specified by:
clone
in classus.hebi.quickbuf.ProtoMessage<Controller.ProtobufElevatorFeedforward>
-
isEmpty
- Overrides:
isEmpty
in classus.hebi.quickbuf.ProtoMessage<Controller.ProtobufElevatorFeedforward>
-
parseFrom
public static Controller.ProtobufElevatorFeedforward parseFrom(byte[] data) throws us.hebi.quickbuf.InvalidProtocolBufferException- Throws:
us.hebi.quickbuf.InvalidProtocolBufferException
-
parseFrom
public static Controller.ProtobufElevatorFeedforward parseFrom(us.hebi.quickbuf.ProtoSource input) throws IOException- Throws:
IOException
-
parseFrom
public static Controller.ProtobufElevatorFeedforward parseFrom(us.hebi.quickbuf.JsonSource input) throws IOException- Throws:
IOException
-
getFactory
- Returns:
- factory for creating ProtobufElevatorFeedforward messages
-
getDescriptor
- Returns:
- this type's descriptor.
-