MecanumDriveWithPP
class MecanumDriveWithPP(hardwareMap: HardwareMap, followerConstants: FollowerConstants, localizerConstants: DriveEncoderConstants, pathConstraints: PathConstraints, driveConstants: MecanumConstants, initialPose: Pose = Pose()) : MecanumDrivetrain
A mecanum drivetrain integrated with the PedroPathing library
Parameters
hardwareMap
The FTC hardware map
followerConstants
Constants for the path follower
localizerConstants
Constants for the drive encoder localizer
pathConstraints
Constraints for path following
driveConstants
Constants specific to the mecanum drivetrain
initialPose
The initial pose of the robot
Constructors
Properties
Functions
Link copied to clipboard
fun path(startPose: Pose = pose, block: MecanumDriveWithPP.FollowerActionBuilder.() -> MecanumDriveWithPP.FollowerActionBuilder): Action
Creates a path following action starting from the given pose
Link copied to clipboard
Ensures the attachment is in the Idle state, throwing an exception if not.
Link copied to clipboard
Link copied to clipboard