Package edu.wpi.first.math.proto
Class Kinematics.ProtobufDifferentialDriveKinematics
java.lang.Object
us.hebi.quickbuf.ProtoMessage<Kinematics.ProtobufDifferentialDriveKinematics>
edu.wpi.first.math.proto.Kinematics.ProtobufDifferentialDriveKinematics
- All Implemented Interfaces:
Cloneable
- Enclosing class:
- Kinematics
public static final class Kinematics.ProtobufDifferentialDriveKinematics
extends us.hebi.quickbuf.ProtoMessage<Kinematics.ProtobufDifferentialDriveKinematics>
implements Cloneable
Protobuf type
ProtobufDifferentialDriveKinematics
-
Field Summary
Fields inherited from class us.hebi.quickbuf.ProtoMessage
bitField0_, cachedSize, unknownBytesFieldName
-
Method Summary
Modifier and TypeMethodDescriptionclear()
optional double track_width = 1;
clone()
protected int
boolean
static us.hebi.quickbuf.Descriptors.Descriptor
static us.hebi.quickbuf.MessageFactory<Kinematics.ProtobufDifferentialDriveKinematics>
double
optional double track_width = 1;
boolean
optional double track_width = 1;
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) setTrackWidth
(double value) optional double track_width = 1;
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
ProtobufDifferentialDriveKinematics
-
hasTrackWidth
optional double track_width = 1;
- Returns:
- whether the trackWidth field is set
-
clearTrackWidth
optional double track_width = 1;
- Returns:
- this
-
getTrackWidth
optional double track_width = 1;
- Returns:
- the trackWidth
-
setTrackWidth
optional double track_width = 1;
- Parameters:
value
- the trackWidth to set- Returns:
- this
-
copyFrom
public Kinematics.ProtobufDifferentialDriveKinematics copyFrom(Kinematics.ProtobufDifferentialDriveKinematics other) - Specified by:
copyFrom
in classus.hebi.quickbuf.ProtoMessage<Kinematics.ProtobufDifferentialDriveKinematics>
-
mergeFrom
public Kinematics.ProtobufDifferentialDriveKinematics mergeFrom(Kinematics.ProtobufDifferentialDriveKinematics other) - Overrides:
mergeFrom
in classus.hebi.quickbuf.ProtoMessage<Kinematics.ProtobufDifferentialDriveKinematics>
-
clear
- Specified by:
clear
in classus.hebi.quickbuf.ProtoMessage<Kinematics.ProtobufDifferentialDriveKinematics>
-
clearQuick
- Overrides:
clearQuick
in classus.hebi.quickbuf.ProtoMessage<Kinematics.ProtobufDifferentialDriveKinematics>
-
equals
- Specified by:
equals
in classus.hebi.quickbuf.ProtoMessage<Kinematics.ProtobufDifferentialDriveKinematics>
-
writeTo
- Specified by:
writeTo
in classus.hebi.quickbuf.ProtoMessage<Kinematics.ProtobufDifferentialDriveKinematics>
- Throws:
IOException
-
computeSerializedSize
- Specified by:
computeSerializedSize
in classus.hebi.quickbuf.ProtoMessage<Kinematics.ProtobufDifferentialDriveKinematics>
-
mergeFrom
public Kinematics.ProtobufDifferentialDriveKinematics mergeFrom(us.hebi.quickbuf.ProtoSource input) throws IOException - Specified by:
mergeFrom
in classus.hebi.quickbuf.ProtoMessage<Kinematics.ProtobufDifferentialDriveKinematics>
- Throws:
IOException
-
writeTo
- Overrides:
writeTo
in classus.hebi.quickbuf.ProtoMessage<Kinematics.ProtobufDifferentialDriveKinematics>
- Throws:
IOException
-
mergeFrom
public Kinematics.ProtobufDifferentialDriveKinematics mergeFrom(us.hebi.quickbuf.JsonSource input) throws IOException - Overrides:
mergeFrom
in classus.hebi.quickbuf.ProtoMessage<Kinematics.ProtobufDifferentialDriveKinematics>
- Throws:
IOException
-
clone
- Specified by:
clone
in classus.hebi.quickbuf.ProtoMessage<Kinematics.ProtobufDifferentialDriveKinematics>
-
isEmpty
- Overrides:
isEmpty
in classus.hebi.quickbuf.ProtoMessage<Kinematics.ProtobufDifferentialDriveKinematics>
-
parseFrom
public static Kinematics.ProtobufDifferentialDriveKinematics parseFrom(byte[] data) throws us.hebi.quickbuf.InvalidProtocolBufferException - Throws:
us.hebi.quickbuf.InvalidProtocolBufferException
-
parseFrom
public static Kinematics.ProtobufDifferentialDriveKinematics parseFrom(us.hebi.quickbuf.ProtoSource input) throws IOException - Throws:
IOException
-
parseFrom
public static Kinematics.ProtobufDifferentialDriveKinematics parseFrom(us.hebi.quickbuf.JsonSource input) throws IOException - Throws:
IOException
-
getFactory
public static us.hebi.quickbuf.MessageFactory<Kinematics.ProtobufDifferentialDriveKinematics> getFactory()- Returns:
- factory for creating ProtobufDifferentialDriveKinematics messages
-
getDescriptor
- Returns:
- this type's descriptor.
-