Package edu.wpi.first.math.proto
Class Kinematics.ProtobufDifferentialDriveWheelPositions
java.lang.Object
us.hebi.quickbuf.ProtoMessage<Kinematics.ProtobufDifferentialDriveWheelPositions>
edu.wpi.first.math.proto.Kinematics.ProtobufDifferentialDriveWheelPositions
- All Implemented Interfaces:
Cloneable
- Enclosing class:
- Kinematics
public static final class Kinematics.ProtobufDifferentialDriveWheelPositions extends us.hebi.quickbuf.ProtoMessage<Kinematics.ProtobufDifferentialDriveWheelPositions> implements Cloneable
Protobuf type
ProtobufDifferentialDriveWheelPositions
-
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
ProtobufDifferentialDriveWheelPositions
-
hasLeft
optional double left = 1;
- Returns:
- whether the left field is set
-
clearLeft
optional double left = 1;
- Returns:
- this
-
getLeft
optional double left = 1;
- Returns:
- the left
-
setLeft
optional double left = 1;
- Parameters:
value
- the left to set- Returns:
- this
-
hasRight
optional double right = 2;
- Returns:
- whether the right field is set
-
clearRight
optional double right = 2;
- Returns:
- this
-
getRight
optional double right = 2;
- Returns:
- the right
-
setRight
optional double right = 2;
- Parameters:
value
- the right to set- Returns:
- this
-
copyFrom
public Kinematics.ProtobufDifferentialDriveWheelPositions copyFrom(Kinematics.ProtobufDifferentialDriveWheelPositions other)- Specified by:
copyFrom
in classus.hebi.quickbuf.ProtoMessage<Kinematics.ProtobufDifferentialDriveWheelPositions>
-
mergeFrom
public Kinematics.ProtobufDifferentialDriveWheelPositions mergeFrom(Kinematics.ProtobufDifferentialDriveWheelPositions other)- Overrides:
mergeFrom
in classus.hebi.quickbuf.ProtoMessage<Kinematics.ProtobufDifferentialDriveWheelPositions>
-
clear
- Specified by:
clear
in classus.hebi.quickbuf.ProtoMessage<Kinematics.ProtobufDifferentialDriveWheelPositions>
-
clearQuick
- Overrides:
clearQuick
in classus.hebi.quickbuf.ProtoMessage<Kinematics.ProtobufDifferentialDriveWheelPositions>
-
equals
- Specified by:
equals
in classus.hebi.quickbuf.ProtoMessage<Kinematics.ProtobufDifferentialDriveWheelPositions>
-
writeTo
- Specified by:
writeTo
in classus.hebi.quickbuf.ProtoMessage<Kinematics.ProtobufDifferentialDriveWheelPositions>
- Throws:
IOException
-
computeSerializedSize
- Specified by:
computeSerializedSize
in classus.hebi.quickbuf.ProtoMessage<Kinematics.ProtobufDifferentialDriveWheelPositions>
-
mergeFrom
public Kinematics.ProtobufDifferentialDriveWheelPositions mergeFrom(us.hebi.quickbuf.ProtoSource input) throws IOException- Specified by:
mergeFrom
in classus.hebi.quickbuf.ProtoMessage<Kinematics.ProtobufDifferentialDriveWheelPositions>
- Throws:
IOException
-
writeTo
- Overrides:
writeTo
in classus.hebi.quickbuf.ProtoMessage<Kinematics.ProtobufDifferentialDriveWheelPositions>
- Throws:
IOException
-
mergeFrom
public Kinematics.ProtobufDifferentialDriveWheelPositions mergeFrom(us.hebi.quickbuf.JsonSource input) throws IOException- Overrides:
mergeFrom
in classus.hebi.quickbuf.ProtoMessage<Kinematics.ProtobufDifferentialDriveWheelPositions>
- Throws:
IOException
-
clone
- Specified by:
clone
in classus.hebi.quickbuf.ProtoMessage<Kinematics.ProtobufDifferentialDriveWheelPositions>
-
isEmpty
- Overrides:
isEmpty
in classus.hebi.quickbuf.ProtoMessage<Kinematics.ProtobufDifferentialDriveWheelPositions>
-
parseFrom
public static Kinematics.ProtobufDifferentialDriveWheelPositions parseFrom(byte[] data) throws us.hebi.quickbuf.InvalidProtocolBufferException- Throws:
us.hebi.quickbuf.InvalidProtocolBufferException
-
parseFrom
public static Kinematics.ProtobufDifferentialDriveWheelPositions parseFrom(us.hebi.quickbuf.ProtoSource input) throws IOException- Throws:
IOException
-
parseFrom
public static Kinematics.ProtobufDifferentialDriveWheelPositions parseFrom(us.hebi.quickbuf.JsonSource input) throws IOException- Throws:
IOException
-
getFactory
public static us.hebi.quickbuf.MessageFactory<Kinematics.ProtobufDifferentialDriveWheelPositions> getFactory()- Returns:
- factory for creating ProtobufDifferentialDriveWheelPositions messages
-
getDescriptor
- Returns:
- this type's descriptor.
-