AlignToContourTask

constructor(@Nullable passthrough: Supplier<PoseVelocity2d>, @NonNull drive: Moveable, @NonNull supplier: Supplier<List<ContourData>>)

TeleOp constructor.

Parameters

passthrough

the pose velocity passthrough for the drivetrain

drive

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

supplier

a supplier source that will provide contour data


constructor(@NonNull driver: Gamepad, @NonNull drive: Moveable, @NonNull supplier: Supplier<List<ContourData>>)

TeleOp constructor using a default Mecanum binding.

Parameters

driver

the gamepad to use for driving

drive

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

supplier

a supplier source that will provide contour data


constructor(@NonNull drive: Moveable, @NonNull supplier: Supplier<List<ContourData>>)

Autonomous constructor.

Parameters

drive

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

supplier

a supplier source that will provide contour data