Skip to content

Commit

Permalink
removed some testing changes that shouldn't have stayed in
Browse files Browse the repository at this point in the history
  • Loading branch information
shinthebinn authored Mar 18, 2024
1 parent 3b8eff6 commit 1f56dbb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/main/java/frc/robot/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,6 @@ private void configureBindings() {
// left bumper -> rotate to note
// driverController.leftBumper().whileTrue(new GamePieceVision(vision, swerve));
driverController.a().onTrue(teleopSwerve.toggleFieldRelative());
driverController.b().onTrue(new SetShooterVelocity(shooter, 2250));
driverController.x().whileTrue(new XStance(swerve));
driverController.y().onTrue(teleopSwerve.zeroYaw());

Expand Down
4 changes: 2 additions & 2 deletions src/main/java/frc/robot/subsystems/Arm.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ public Arm() {

leadMotor.setSoftLimit(SoftLimitDirection.kForward, (float) (110 + shaftEncoderOffset_deg));
leadMotor.setSoftLimit(SoftLimitDirection.kReverse, (float) (-1.5 + shaftEncoderOffset_deg));
leadMotor.enableSoftLimit(SoftLimitDirection.kForward, false);
leadMotor.enableSoftLimit(SoftLimitDirection.kReverse, false);
leadMotor.enableSoftLimit(SoftLimitDirection.kForward, true);
leadMotor.enableSoftLimit(SoftLimitDirection.kReverse, true);

followerMotor.restoreFactoryDefaults();
followerMotor.setIdleMode(IdleMode.kBrake);
Expand Down

0 comments on commit 1f56dbb

Please sign in to comment.