mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[wpimath] TrapezoidProfile.State implement StructSerializable (#8499)
Seems like this was missed in #8163
This commit is contained in:
@@ -7,6 +7,7 @@ package edu.wpi.first.math.trajectory;
|
||||
import edu.wpi.first.math.MathSharedStore;
|
||||
import edu.wpi.first.math.MathUsageId;
|
||||
import edu.wpi.first.math.trajectory.struct.TrapezoidProfileStateStruct;
|
||||
import edu.wpi.first.util.struct.StructSerializable;
|
||||
import java.util.Objects;
|
||||
|
||||
/**
|
||||
@@ -76,7 +77,7 @@ public class TrapezoidProfile {
|
||||
}
|
||||
|
||||
/** Profile state. */
|
||||
public static class State {
|
||||
public static class State implements StructSerializable {
|
||||
/** The struct used to serialize this class. */
|
||||
public static final TrapezoidProfileStateStruct struct = new TrapezoidProfileStateStruct();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user