Package com.acmerobotics.roadrunner
Class SafePosePathBuilder
-
- All Implemented Interfaces:
public final class SafePosePathBuilder
Wrapper 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 RestrictedPosePathBuilder
tangentUntil(Double disp)
final RestrictedPosePathBuilder
constantUntil(Double disp)
final RestrictedPosePathBuilder
linearUntil(Double disp, Rotation2d heading)
final RestrictedPosePathBuilder
linearUntil(Double disp, Double heading)
final SafePosePathBuilder
splineUntil(Double disp, Rotation2d heading)
final SafePosePathBuilder
splineUntil(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)
-
-
-
-