PedroPathingDrivetrain
A PedroPathing dev.kingssack.volt.attachment.drivetrain.Drivetrain.
A pre-built dev.kingssack.volt.attachment.drivetrain.Drivetrain that integrates with the PedroPathing library. Provides actions for autonomous pathing as well as teleop control. lineTo and splineTo can be used for following single paths, while path and followPath can follow multi-path chains.
Parameters
follower
the path follower instance
initialPose
the robot's initial pose
Inheritors
Properties
Functions
Link copied to clipboard
Creates a path following action from a PathBuilder.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Follow the given line while tangentially interpolating the heading.
Link copied to clipboard
fun path(startPose: Pose = pose, block: PedroPathingActionBuilder.() -> PedroPathingActionBuilder): Action
Creates a path following action starting from startPose.
Link copied to clipboard
Ensures the attachment is in the Idle state, throwing an exception if not.
Link copied to clipboard
Set the drive powers.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Follow the given curve while tangentially interpolating the heading.
Link copied to clipboard