Bradley Bickford 2024-12-29 20:01:27 -05:00
commit d43d9655ac
2 changed files with 3 additions and 6 deletions

View File

@ -40,11 +40,11 @@ public class RobotContainer {
}
private void configureBindings() {
climber.setDefaultCommand(climber.climberDown());
primary.a().onTrue(kicker.kick());
primary.b().whileTrue(climber.climberUp());
primary.b().onTrue(climber.climberUp());
primary.x().onTrue(climber.climberDown());
}
public Command getAutonomousCommand() {

View File

@ -3,7 +3,6 @@ package frc.robot.subsystems;
import java.util.function.DoubleSupplier;
import edu.wpi.first.math.controller.PIDController;
import edu.wpi.first.math.controller.SimpleMotorFeedforward;
import edu.wpi.first.wpilibj.ADXRS450_Gyro;
import edu.wpi.first.wpilibj.drive.DifferentialDrive;
import edu.wpi.first.wpilibj.motorcontrol.VictorSP;
@ -21,8 +20,6 @@ public class Drivetrain extends SubsystemBase {
private PIDController turnController;
private SimpleMotorFeedforward turnFF;
private ADXRS450_Gyro gyro;
public Drivetrain() {