Skip to content

Commit

Permalink
[wpimath] DifferentialDriveWheelPositions: tag as Proto/StructSeriali…
Browse files Browse the repository at this point in the history
…zable (wpilibsuite#7622)
  • Loading branch information
superpenguin612 authored Jan 13, 2025
1 parent 25e6549 commit a145451
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,15 @@
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<DifferentialDriveWheelPositions> {
implements StructSerializable,
ProtobufSerializable,
Interpolatable<DifferentialDriveWheelPositions> {
/** Distance measured by the left side. */
public double leftMeters;

Expand Down

0 comments on commit a145451

Please sign in to comment.