Class DifferentialDriveWheelAccelerationsProto
java.lang.Object
org.wpilib.math.kinematics.proto.DifferentialDriveWheelAccelerationsProto
- All Implemented Interfaces:
Protobuf<DifferentialDriveWheelAccelerations, ProtobufDifferentialDriveWheelAccelerations>
public class DifferentialDriveWheelAccelerationsProto
extends Object
implements Protobuf<DifferentialDriveWheelAccelerations, ProtobufDifferentialDriveWheelAccelerations>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates protobuf message.us.hebi.quickbuf.Descriptors.DescriptorGets the protobuf descriptor.Gets the Class object for the stored value.voidCopies the object contents into a protobuf message.Deserializes an object from a protobuf message.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Protobuf
clone, forEachDescriptor, getTypeString, isCloneable, isImmutable, unpackInto
-
Constructor Details
-
DifferentialDriveWheelAccelerationsProto
-
-
Method Details
-
getTypeClass
Description copied from interface:ProtobufGets the Class object for the stored value.- Specified by:
getTypeClassin interfaceProtobuf<DifferentialDriveWheelAccelerations, ProtobufDifferentialDriveWheelAccelerations>- Returns:
- Class
-
getDescriptor
Description copied from interface:ProtobufGets the protobuf descriptor.- Specified by:
getDescriptorin interfaceProtobuf<DifferentialDriveWheelAccelerations, ProtobufDifferentialDriveWheelAccelerations>- Returns:
- descriptor
-
createMessage
Description copied from interface:ProtobufCreates protobuf message.- Specified by:
createMessagein interfaceProtobuf<DifferentialDriveWheelAccelerations, ProtobufDifferentialDriveWheelAccelerations>- Returns:
- protobuf message
-
unpack
Description copied from interface:ProtobufDeserializes an object from a protobuf message.- Specified by:
unpackin interfaceProtobuf<DifferentialDriveWheelAccelerations, ProtobufDifferentialDriveWheelAccelerations>- Parameters:
msg- protobuf message- Returns:
- New object
-
pack
public void pack(ProtobufDifferentialDriveWheelAccelerations msg, DifferentialDriveWheelAccelerations value) Description copied from interface:ProtobufCopies the object contents into a protobuf message. Implementations should call either msg.setMember(member) or member.copyToProto(msg.getMutableMember()) for each member.- Specified by:
packin interfaceProtobuf<DifferentialDriveWheelAccelerations, ProtobufDifferentialDriveWheelAccelerations>- Parameters:
msg- protobuf messagevalue- object to serialize
-