From a14545102f2c16f8b446e765af8d872e028a92f8 Mon Sep 17 00:00:00 2001 From: David Racovan <74030080+superpenguin612@users.noreply.github.com> Date: Mon, 13 Jan 2025 16:52:40 -0500 Subject: [PATCH] [wpimath] DifferentialDriveWheelPositions: tag as Proto/StructSerializable (#7622) --- .../math/kinematics/DifferentialDriveWheelPositions.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/wpimath/src/main/java/edu/wpi/first/math/kinematics/DifferentialDriveWheelPositions.java b/wpimath/src/main/java/edu/wpi/first/math/kinematics/DifferentialDriveWheelPositions.java index b4503e6480..b0dcd11d5b 100644 --- a/wpimath/src/main/java/edu/wpi/first/math/kinematics/DifferentialDriveWheelPositions.java +++ b/wpimath/src/main/java/edu/wpi/first/math/kinematics/DifferentialDriveWheelPositions.java @@ -11,11 +11,15 @@ import edu.wpi.first.math.interpolation.Interpolatable; import edu.wpi.first.math.kinematics.proto.DifferentialDriveWheelPositionsProto; import edu.wpi.first.math.kinematics.struct.DifferentialDriveWheelPositionsStruct; import edu.wpi.first.units.measure.Distance; +import edu.wpi.first.util.protobuf.ProtobufSerializable; +import edu.wpi.first.util.struct.StructSerializable; import java.util.Objects; /** Represents the wheel positions for a differential drive drivetrain. */ public class DifferentialDriveWheelPositions - implements Interpolatable { + implements StructSerializable, + ProtobufSerializable, + Interpolatable { /** Distance measured by the left side. */ public double leftMeters;