mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-23 01:21:42 +00:00
Make splinePointsFromSplines public (#1963)
This commit is contained in:
committed by
Peter Johnson
parent
2c50937975
commit
3fc89c84d6
@@ -217,7 +217,15 @@ public final class TrajectoryGenerator {
|
||||
);
|
||||
}
|
||||
|
||||
private static List<PoseWithCurvature> splinePointsFromSplines(
|
||||
/**
|
||||
* Generate spline points from a vector of splines by parameterizing the
|
||||
* splines.
|
||||
*
|
||||
* @param splines The splines to parameterize.
|
||||
*
|
||||
* @return The spline points for use in time parameterization of a trajectory.
|
||||
*/
|
||||
public static List<PoseWithCurvature> splinePointsFromSplines(
|
||||
Spline[] splines) {
|
||||
// Create the vector of spline points.
|
||||
var splinePoints = new ArrayList<PoseWithCurvature>();
|
||||
|
||||
Reference in New Issue
Block a user