mirror of
https://github.com/Team4388/2023WayOfTheRobot.git
synced 2026-06-09 00:37:59 -06:00
pid done
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user