Make splinePointsFromSplines public (#1963)

This commit is contained in:
carbotaniuman
2019-10-20 16:11:17 -05:00
committed by Peter Johnson
parent 2c50937975
commit 3fc89c84d6
2 changed files with 10 additions and 3 deletions

View File

@@ -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>();