-
- All Implemented Interfaces:
public final class SafePosePathBuilder
Wrapper for PosePathBuilder that provides the same guarantees without throwing PosePathBuilder.RotationContinuityException.
For method-by-method documentation, see the identical methods on PosePathBuilder.
-
-
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 CompositePosePath
tangentUntilEnd()
final CompositePosePath
constantUntilEnd()
final CompositePosePath
linearUntilEnd(Rotation2d heading)
final CompositePosePath
linearUntilEnd(Double heading)
final CompositePosePath
splineUntilEnd(Rotation2d heading)
final 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 CompositePosePath tangentUntilEnd()
-
constantUntilEnd
final CompositePosePath constantUntilEnd()
-
linearUntilEnd
final CompositePosePath linearUntilEnd(Rotation2d heading)
-
linearUntilEnd
final CompositePosePath linearUntilEnd(Double heading)
-
splineUntilEnd
final CompositePosePath splineUntilEnd(Rotation2d heading)
-
splineUntilEnd
final CompositePosePath splineUntilEnd(Double heading)
-
-
-
-