Package com.acmerobotics.roadrunner
Class ConstantPathBuilder
-
- All Implemented Interfaces:
public final class ConstantPathBuilder
-
-
Method Summary
Modifier and Type Method Description final ConstantPathBuilder
lineToXConstantHeading(Double posX)
final SafePathBuilder
lineToXSplineHeading(Double posX, Rotation2d heading)
final SafePathBuilder
lineToXSplineHeading(Double posX, Double heading)
final ConstantPathBuilder
lineToYConstantHeading(Double posY)
final SafePathBuilder
lineToYSplineHeading(Double posY, Rotation2d heading)
final SafePathBuilder
lineToYSplineHeading(Double posY, Double heading)
final ConstantPathBuilder
splineToConstantHeading(Vector2d pos, Rotation2d tangent)
final ConstantPathBuilder
splineToConstantHeading(Vector2d pos, Double tangent)
final SafePathBuilder
splineToSplineHeading(Pose2d pose, Rotation2d tangent)
final SafePathBuilder
splineToSplineHeading(Pose2d pose, Double tangent)
final List<CompositePosePath>
build()
-
-
Method Detail
-
lineToXConstantHeading
final ConstantPathBuilder lineToXConstantHeading(Double posX)
-
lineToXSplineHeading
final SafePathBuilder lineToXSplineHeading(Double posX, Rotation2d heading)
-
lineToXSplineHeading
final SafePathBuilder lineToXSplineHeading(Double posX, Double heading)
-
lineToYConstantHeading
final ConstantPathBuilder lineToYConstantHeading(Double posY)
-
lineToYSplineHeading
final SafePathBuilder lineToYSplineHeading(Double posY, Rotation2d heading)
-
lineToYSplineHeading
final SafePathBuilder lineToYSplineHeading(Double posY, Double heading)
-
splineToConstantHeading
final ConstantPathBuilder splineToConstantHeading(Vector2d pos, Rotation2d tangent)
-
splineToConstantHeading
final ConstantPathBuilder splineToConstantHeading(Vector2d pos, Double tangent)
-
splineToSplineHeading
final SafePathBuilder splineToSplineHeading(Pose2d pose, Rotation2d tangent)
-
splineToSplineHeading
final SafePathBuilder splineToSplineHeading(Pose2d pose, Double tangent)
-
build
final List<CompositePosePath> build()
-
-
-
-