Move To Contour Task
constructor(xSupplier: DoubleSupplier, ySupplier: DoubleSupplier, rSupplier: DoubleSupplier, drive: BunyipsSubsystem, processor: Processor<ContourData>, translationController: PIDF, rotationController: PIDF)
TeleOp constructor.
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
processor
the vision processor to use
translation Controller
the PID controller for the translational movement
rotation Controller
the PID controller for the rotational movement
constructor(driver: Gamepad, drive: BunyipsSubsystem, processor: Processor<ContourData>, translationController: PIDF, rotationController: PIDF)
TeleOp constructor using a default Mecanum binding.
Parameters
driver
the gamepad to use for driving
drive
the drivetrain to use, must be a RoadRunnerDrive
processor
the vision processor to use
translation Controller
the PID controller for the translational movement
rotation Controller
the PID controller for the rotational movement
constructor(timeout: Measure<Time>, drive: BunyipsSubsystem, processor: Processor<ContourData>, translationController: PIDF, rotationController: PIDF)
Autonomous constructor.
Parameters
timeout
the maximum timeout for the task
drive
the drivetrain to use, must be a RoadRunnerDrive
processor
the vision processor to use
translation Controller
the PID controller for the translational movement
rotation Controller
the PID controller for the rotational movement