Skip to content

Commit

Permalink
fixed invert
Browse files Browse the repository at this point in the history
  • Loading branch information
Merridew1 committed Dec 3, 2024
1 parent 9ef4efc commit 8e2bc24
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ public class RandomMotors extends SubsystemBase {

public RandomMotors(RandomMotorsIO io) {
this.io = io;
io.updateInputsIO(inputs);
}

@Override
Expand Down
4 changes: 1 addition & 3 deletions src/main/java/frc/robot/subsystems/drive/DrivetrainReal.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ public class DrivetrainReal implements DrivetrainIO {
public DrivetrainReal() {
BLMotor.addFollower(FLMotor);
BRMotor.addFollower(FRMotor);

BLMotor.setInverted(true);
}

@Override
Expand All @@ -38,7 +36,7 @@ public void updateInputsIO(DrivetrainIOInputs inputs) {
@Override
public void setDrivePowerIO(double lvolts, double rvolts) {
FLMotor.set(lvolts);
FRMotor.set(rvolts);
FRMotor.set(-rvolts);
}

}

0 comments on commit 8e2bc24

Please sign in to comment.