This commit is contained in:
samuel desharnais
2023-04-11 17:45:34 -04:00
7 changed files with 23 additions and 15 deletions

View File

@ -32,7 +32,7 @@ public class Apriltag extends CommandBase {
// Called every time the scheduler runs while the command is scheduled.
@Override
public void execute() {
basePilotable.drive(doubleSupplier.getAsDouble(), limelight.getYaw());
basePilotable.drive(doubleSupplier.getAsDouble(), limelight.getYaw(),false);
}
// Called once the command ends or is interrupted.

View File

@ -5,6 +5,7 @@
package frc.robot.commands;
import edu.wpi.first.wpilibj2.command.CommandBase;
import frc.robot.subsystems.Gratte;

View File

@ -4,6 +4,7 @@
package frc.robot.commands;
import edu.wpi.first.wpilibj2.command.CommandBase;
import frc.robot.subsystems.BasePilotable;

View File

@ -32,7 +32,7 @@ public class Tape extends CommandBase {
// Called every time the scheduler runs while the command is scheduled.
@Override
public void execute() {
basePilotable.drive(doubleSupplier.getAsDouble(), limelight.getYaw());
basePilotable.drive(doubleSupplier.getAsDouble(), limelight.getYaw(),false);
}
// Called once the command ends or is interrupted.