Package com.acmerobotics.roadrunner
Class SafePosePathBuilder
-
- All Implemented Interfaces:
public final class SafePosePathBuilderWrapper for PosePathSeqBuilder that provides the same guarantees without throwing PosePathSeqBuilder.RotationContinuityException.
For method-by-method documentation, see the identical methods on PosePathSeqBuilder.
-
-
Constructor Summary
Constructors Constructor Description SafePosePathBuilder(PositionPath<Arclength> path, Rotation2d beginHeading)SafePosePathBuilder(PositionPath<Arclength> path, Double beginHeading)
-
Method Summary
Modifier and Type Method Description final RestrictedPosePathBuildertangentUntil(Double disp)final RestrictedPosePathBuilderconstantUntil(Double disp)final RestrictedPosePathBuilderlinearUntil(Double disp, Rotation2d heading)final RestrictedPosePathBuilderlinearUntil(Double disp, Double heading)final SafePosePathBuildersplineUntil(Double disp, Rotation2d heading)final SafePosePathBuildersplineUntil(Double disp, Double heading)final List<CompositePosePath>tangentUntilEnd()final List<CompositePosePath>constantUntilEnd()final List<CompositePosePath>linearUntilEnd(Rotation2d heading)final List<CompositePosePath>linearUntilEnd(Double heading)final List<CompositePosePath>splineUntilEnd(Rotation2d heading)final List<CompositePosePath>splineUntilEnd(Double heading)
-
-
-
Constructor Detail
-
SafePosePathBuilder
SafePosePathBuilder(PositionPath<Arclength> path, Rotation2d beginHeading)
-
SafePosePathBuilder
SafePosePathBuilder(PositionPath<Arclength> path, Double beginHeading)
-
-
Method Detail
-
tangentUntil
final RestrictedPosePathBuilder tangentUntil(Double disp)
-
constantUntil
final RestrictedPosePathBuilder constantUntil(Double disp)
-
linearUntil
final RestrictedPosePathBuilder linearUntil(Double disp, Rotation2d heading)
-
linearUntil
final RestrictedPosePathBuilder linearUntil(Double disp, Double heading)
-
splineUntil
final SafePosePathBuilder splineUntil(Double disp, Rotation2d heading)
-
splineUntil
final SafePosePathBuilder splineUntil(Double disp, Double heading)
-
tangentUntilEnd
final List<CompositePosePath> tangentUntilEnd()
-
constantUntilEnd
final List<CompositePosePath> constantUntilEnd()
-
linearUntilEnd
final List<CompositePosePath> linearUntilEnd(Rotation2d heading)
-
linearUntilEnd
final List<CompositePosePath> linearUntilEnd(Double heading)
-
splineUntilEnd
final List<CompositePosePath> splineUntilEnd(Rotation2d heading)
-
splineUntilEnd
final List<CompositePosePath> splineUntilEnd(Double heading)
-
-