Skip to content

Commit

Permalink
Automatically applied spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathandao0 authored and github-actions[bot] committed Mar 15, 2024
1 parent 0b89114 commit 3e6cf11
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/main/java/frc/robot/subsystems/Climber.java
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ public Climber() {
CtreUtils.configureTalonFx(elevatorClimbMotors[1], config);

elevatorClimbMotors[0].setInverted(false);
// elevatorClimbMotors[1].setInverted(true);
elevatorClimbMotors[1].setControl(new Follower(elevatorClimbMotors[0].getDeviceID(), false));
// elevatorClimbMotors[1].setInverted(true);
elevatorClimbMotors[1].setControl(new Follower(elevatorClimbMotors[0].getDeviceID(), false));

SmartDashboard.putData(this);
}
Expand Down Expand Up @@ -139,7 +139,7 @@ private void setPercentOutput(double output, boolean enforceLimits) {
}

elevatorClimbMotors[0].set(output);
// elevatorClimbMotors[1].set(output);
// elevatorClimbMotors[1].set(output);
}

public double getAvgCurrentDraw() {
Expand Down Expand Up @@ -270,7 +270,8 @@ public void periodic() {
switch (m_controlMode) {
case CLOSED_LOOP:
elevatorClimbMotors[0].setControl(m_request.withPosition(m_desiredPositionMeters));
// elevatorClimbMotors[1].setControl(m_request.withPosition(m_desiredPositionMeters));
//
// elevatorClimbMotors[1].setControl(m_request.withPosition(m_desiredPositionMeters));
break;
case OPEN_LOOP:
default:
Expand Down

0 comments on commit 3e6cf11

Please sign in to comment.