Class MecanumDriveKinematicsProto
java.lang.Object
edu.wpi.first.math.kinematics.proto.MecanumDriveKinematicsProto
- All Implemented Interfaces:
Protobuf<MecanumDriveKinematics,Kinematics.ProtobufMecanumDriveKinematics>
public class MecanumDriveKinematicsProto extends Object implements Protobuf<MecanumDriveKinematics,Kinematics.ProtobufMecanumDriveKinematics>
-
Constructor Summary
Constructors Constructor Description MecanumDriveKinematicsProto()
-
Method Summary
Modifier and Type Method Description Kinematics.ProtobufMecanumDriveKinematics
createMessage()
Creates protobuf message.us.hebi.quickbuf.Descriptors.Descriptor
getDescriptor()
Gets the protobuf descriptor.Protobuf<?,?>[]
getNested()
Gets the list of protobuf types referenced by this protobuf.Class<MecanumDriveKinematics>
getTypeClass()
Gets the Class object for the stored value.void
pack(Kinematics.ProtobufMecanumDriveKinematics msg, MecanumDriveKinematics value)
Copies the object contents into a protobuf message.MecanumDriveKinematics
unpack(Kinematics.ProtobufMecanumDriveKinematics msg)
Deserializes an object from a protobuf message.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface edu.wpi.first.util.protobuf.Protobuf
forEachDescriptor, getTypeString, unpackInto
-
Constructor Details
-
Method Details
-
getTypeClass
Description copied from interface:Protobuf
Gets the Class object for the stored value.- Specified by:
getTypeClass
in interfaceProtobuf<MecanumDriveKinematics,Kinematics.ProtobufMecanumDriveKinematics>
- Returns:
- Class
-
getDescriptor
Description copied from interface:Protobuf
Gets the protobuf descriptor.- Specified by:
getDescriptor
in interfaceProtobuf<MecanumDriveKinematics,Kinematics.ProtobufMecanumDriveKinematics>
- Returns:
- descriptor
-
getNested
Description copied from interface:Protobuf
Gets the list of protobuf types referenced by this protobuf.- Specified by:
getNested
in interfaceProtobuf<MecanumDriveKinematics,Kinematics.ProtobufMecanumDriveKinematics>
- Returns:
- list of protobuf types
-
createMessage
Description copied from interface:Protobuf
Creates protobuf message.- Specified by:
createMessage
in interfaceProtobuf<MecanumDriveKinematics,Kinematics.ProtobufMecanumDriveKinematics>
- Returns:
- protobuf message
-
unpack
Description copied from interface:Protobuf
Deserializes an object from a protobuf message.- Specified by:
unpack
in interfaceProtobuf<MecanumDriveKinematics,Kinematics.ProtobufMecanumDriveKinematics>
- Parameters:
msg
- protobuf message- Returns:
- New object
-
pack
Description copied from interface:Protobuf
Copies the object contents into a protobuf message. Implementations should call either msg.setMember(member) or member.copyToProto(msg.getMutableMember()) for each member.- Specified by:
pack
in interfaceProtobuf<MecanumDriveKinematics,Kinematics.ProtobufMecanumDriveKinematics>
- Parameters:
msg
- protobuf messagevalue
- object to serialize
-