Skip to content

Commit

Permalink
remove unused constant
Browse files Browse the repository at this point in the history
  • Loading branch information
mpatankar6 committed Apr 17, 2024
1 parent 3a82602 commit d7a3135
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 6 additions & 0 deletions src/main/java/frc/robot/Robot.java
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,12 @@ public Robot() {
.and(m_drivetrain.inRangeOfGoal.negate())
.whileTrue(Superstructure.feedShotHigh(m_drivetrain, m_shooter, m_arm, m_lights))
.onFalse(m_arm.goToSetpoint(ArmSetpoints.kStowed));
m_driverController
.leftTrigger()
.and(m_driverController.a())
.and(m_drivetrain.inRangeOfGoal.negate())
.whileTrue(Superstructure.feedShotLow(m_drivetrain, m_shooter, m_arm, m_lights))
.onFalse(m_arm.goToSetpoint(ArmSetpoints.kStowed));

m_driverController.start().onTrue(m_drivetrain.zeroGyro());
m_operatorController
Expand Down
1 change: 0 additions & 1 deletion src/main/java/frc/robot/arm/Arm.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ public class Arm extends SubsystemBase {

public static final double kCatchWristAngleRad = 2.264 - Units.degreesToRadians(5.0);
public static final double kSubwooferWristAngleRad = 2.083;
public static final double kDeployGizmoAngleRad = Units.degreesToRadians(80.0);
private final double kJointTolerenceDegrees = 2.0;

private final ArmIO m_io;
Expand Down

0 comments on commit d7a3135

Please sign in to comment.