-
- All Implemented Interfaces:
public final class PosPathSeqBuilder
-
-
Constructor Summary
Constructors Constructor Description PosPathSeqBuilder(Vector2d beginPos, Rotation2d beginTangent, Double eps)PosPathSeqBuilder(Vector2d beginPos, Double beginTangent, Double eps)
-
Method Summary
Modifier and Type Method Description final PosPathSeqBuilderendPath()final PosPathSeqBuildersetTangent(Rotation2d newTangent)final PosPathSeqBuildersetTangent(Double newTangent)final PosPathSeqBuilderlineToX(Double posX)final PosPathSeqBuilderlineToY(Double posY)final PosPathSeqBuildersplineTo(Vector2d pos, Rotation2d tangent)Adds a spline segment to position pos with tangent tangent. final PosPathSeqBuildersplineTo(Vector2d pos, Double tangent)Adds a spline segment to position pos with tangent tangent. final List<CompositePositionPath<Arclength>>build()
-
-
-
Method Detail
-
endPath
final PosPathSeqBuilder endPath()
-
setTangent
final PosPathSeqBuilder setTangent(Rotation2d newTangent)
-
setTangent
final PosPathSeqBuilder setTangent(Double newTangent)
-
lineToX
final PosPathSeqBuilder lineToX(Double posX)
-
lineToY
final PosPathSeqBuilder lineToY(Double posY)
-
splineTo
final PosPathSeqBuilder splineTo(Vector2d pos, Rotation2d tangent)
-
splineTo
final PosPathSeqBuilder splineTo(Vector2d pos, Double tangent)
-
build
final List<CompositePositionPath<Arclength>> build()
-
-