PadDrive

public class PadDrive extends Command

Command to control the robot's swerve drive using a Logitech gaming pad.

Constructors

Link copied to clipboard
public void PadDrive(XboxController pad)
Constructs a new PadDrive command.

Functions

Link copied to clipboard
public void execute()
Called every time the scheduler runs while the command is scheduled.
Link copied to clipboard
public boolean isFinished()
Returns true when the command should end.
Link copied to clipboard
public static Pair<Double, Double> positionSet(XboxController pad)
Sets the position based on the input from the Logitech gaming pad.