MoveToAprilTagTask

constructor(@NonNull drive: Moveable, @NonNull aprilTag: AprilTag, targetTag: Int)

Autonomous constructor.

Parameters

drive

the drivetrain to use, which may be a BunyipsSubsystem that will auto-attach

aprilTag

the AprilTag processor to use

targetTag

the tag to target. -1 for any tag


constructor(@NonNull passthrough: Supplier<PoseVelocity2d>, @NonNull drive: Moveable, @NonNull aprilTag: AprilTag, targetTag: Int)

TeleOp constructor with default values.

Parameters

passthrough

the pose velocity passthrough for the drivetrain

drive

the drivetrain to use, which may be a BunyipsSubsystem that will auto-attach

aprilTag

the AprilTag processor to use

targetTag

the tag to target. -1 for any tag


constructor(@NonNull gamepad: Gamepad, @NonNull drive: Moveable, @NonNull aprilTag: AprilTag, targetTag: Int)

TeleOp constructor using a default Mecanum binding.

Parameters

gamepad

the gamepad to use for driving

drive

the drivetrain to use, which may be a BunyipsSubsystem that will auto-attach

aprilTag

the AprilTag processor to use

targetTag

the tag to target. -1 for any tag