diff --git a/docs/build.gradle b/docs/build.gradle index 03f2e0b4975..31264fefff4 100644 --- a/docs/build.gradle +++ b/docs/build.gradle @@ -228,6 +228,7 @@ task generateJavaDocs(type: Javadoc) { "-edu.wpi.first.math.spline.proto," + "-edu.wpi.first.math.spline.struct," + "-edu.wpi.first.math.system.proto," + + "-edu.wpi.first.math.system.struct," + "-edu.wpi.first.math.system.plant.proto," + "-edu.wpi.first.math.system.plant.struct," + "-edu.wpi.first.math.trajectory.proto", true) diff --git a/wpimath/src/main/java/edu/wpi/first/math/kinematics/SwerveDriveKinematics.java b/wpimath/src/main/java/edu/wpi/first/math/kinematics/SwerveDriveKinematics.java index aac6d4d7b86..99dd85d9873 100644 --- a/wpimath/src/main/java/edu/wpi/first/math/kinematics/SwerveDriveKinematics.java +++ b/wpimath/src/main/java/edu/wpi/first/math/kinematics/SwerveDriveKinematics.java @@ -19,6 +19,7 @@ import edu.wpi.first.units.Measure; import edu.wpi.first.units.Velocity; import edu.wpi.first.util.protobuf.ProtobufSerializable; +import edu.wpi.first.util.struct.Struct; import edu.wpi.first.util.struct.StructSerializable; import java.util.Arrays; import org.ejml.simple.SimpleMatrix; diff --git a/wpimath/src/main/java/edu/wpi/first/math/system/LinearSystem.java b/wpimath/src/main/java/edu/wpi/first/math/system/LinearSystem.java index 0780d070b8f..90a5976b747 100644 --- a/wpimath/src/main/java/edu/wpi/first/math/system/LinearSystem.java +++ b/wpimath/src/main/java/edu/wpi/first/math/system/LinearSystem.java @@ -31,6 +31,7 @@ import edu.wpi.first.math.system.struct.LinearSystemStruct; import edu.wpi.first.util.protobuf.Protobuf; import edu.wpi.first.util.protobuf.ProtobufSerializable; +import edu.wpi.first.util.struct.Struct; import java.util.Arrays; import java.util.Collections; import java.util.List; diff --git a/wpiutil/src/main/java/edu/wpi/first/util/struct/Struct.java b/wpiutil/src/main/java/edu/wpi/first/util/struct/Struct.java index 488c15e8412..df3026a03e3 100644 --- a/wpiutil/src/main/java/edu/wpi/first/util/struct/Struct.java +++ b/wpiutil/src/main/java/edu/wpi/first/util/struct/Struct.java @@ -120,6 +120,7 @@ default void unpackInto(T out, ByteBuffer bb) { * position. Will increment the ByteBuffer position by size * struct.size() bytes. Will not * otherwise modify the ByteBuffer (e.g. byte order will not be changed). * + * @param Object type * @param bb ByteBuffer * @param size Size of the array * @param struct Struct implementation @@ -157,6 +158,7 @@ static double[] unpackDoubleArray(ByteBuffer bb, int size) { * ByteBuffer position by size * struct.size() bytes. Will not otherwise modify the ByteBuffer (e.g. * byte order will not be changed). * + * @param Object type * @param bb ByteBuffer * @param arr Array to serialize * @param struct Struct implementation