Move To April Tag Task
Autonomous constructor.
Parameters
timeout
the timeout for the task
drive
the drivetrain to use, must be a RoadRunnerDrive
april Tag
the AprilTag processor to use
target Tag
the tag to target. -1 for any tag
constructor(xSupplier: DoubleSupplier, ySupplier: DoubleSupplier, rSupplier: DoubleSupplier, drive: BunyipsSubsystem, aprilTag: AprilTag, targetTag: Int)
TeleOp constructor with default values.
Parameters
x Supplier
x (strafe) value
y Supplier
y (forward) value
r Supplier
r (rotate) value
drive
the drivetrain to use, must be a RoadRunnerDrive
april Tag
the AprilTag processor to use
target Tag
the tag to target. -1 for any tag
TeleOp constructor using a default Mecanum binding.
Parameters
gamepad
the gamepad to use for driving
drive
the drivetrain to use, must be a RoadRunnerDrive
april Tag
the AprilTag processor to use
target Tag
the tag to target. -1 for any tag