This commit is contained in:
aarav18
2023-02-02 19:43:47 -07:00
parent b576678368
commit e3d591674a
4 changed files with 14 additions and 9 deletions
@@ -19,7 +19,11 @@ public class AutoBalance extends PelvicInflammatoryDisease {
/** Creates a new AutoBalanceTF2. */
public AutoBalance(RobotGyro gyro, SwerveDrive drive) {
super(.7, .1, 15, 0);
super(1.0, 0, 0, 0);
this.gyro = gyro;
this.drive = drive;
addRequirements(drive);
}
@@ -40,7 +44,7 @@ public class AutoBalance extends PelvicInflammatoryDisease {
@Override
public void initialize() {
super.initialize();
this.gyro.reset();
// this.gyro.reset();
}
// Returns true when the command should end.