Skip to content

Commit

Permalink
Fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
KangarooKoala committed Jul 16, 2024
1 parent aa6a14c commit 2cc2818
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 2 additions & 0 deletions wpiutil/src/main/java/edu/wpi/first/util/struct/Struct.java
Original file line number Diff line number Diff line change
Expand Up @@ -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 <T> Object type
* @param bb ByteBuffer
* @param size Size of the array
* @param struct Struct implementation
Expand Down Expand Up @@ -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 <T> Object type
* @param bb ByteBuffer
* @param arr Array to serialize
* @param struct Struct implementation
Expand Down

0 comments on commit 2cc2818

Please sign in to comment.