Merge branch 'main' into 2027

This commit is contained in:
Peter Johnson
2025-08-09 00:00:53 -07:00
133 changed files with 304 additions and 279 deletions

View File

@@ -11,6 +11,7 @@ package edu.wpi.first.math.interpolation;
*
* @param <T> The class that is interpolatable.
*/
@SuppressWarnings("PMD.ImplicitFunctionalInterface")
public interface Interpolatable<T> {
/**
* Return the interpolated value. This object is assumed to be the starting position, or lower

View File

@@ -226,7 +226,7 @@ public final class SplineHelper {
* @param splines An array of un-optimized quintic splines.
* @return An array of optimized quintic splines.
*/
@SuppressWarnings({"LocalVariableName", "PMD.AvoidInstantiatingObjectsInLoops"})
@SuppressWarnings("LocalVariableName")
public static QuinticHermiteSpline[] optimizeCurvature(QuinticHermiteSpline[] splines) {
// If there's only spline in the array, we can't optimize anything so just return that.
if (splines.length < 2) {