Holonomic Drive Task
Constructor for HolonomicDriveTask.
Parameters
The supplier for the Cartesian x-axis input
The supplier for the Cartesian y-axis input, note that this will be inverted
The supplier for the CW rotation input
The MecanumDrive to use for driving, must be a MecanumDrive or CartesianMecanumDrive
A BooleanSupplier that returns whether field centric drive is enabled, this will only work on a MecanumDrive that supports dynamic field-centric drive switching, such as the RoadRunner-integrated MecanumDrive
Constructor for HolonomicDriveTask using a default Mecanum binding. Left stick controls translation, right stick controls rotation.
Parameters
The gamepad to use for driving
The MecanumDrive to use for driving, must be a MecanumDrive or CartesianMecanumDrive
A BooleanSupplier that returns whether field centric drive is enabled, this will only work on a MecanumDrive that supports dynamic field-centric drive switching, such as the RoadRunner-integrated MecanumDrive