mirror of
https://github.com/Team4388/2023WayOfTheRobot.git
synced 2026-06-09 08:38:02 -06:00
odometry
This commit is contained in:
@@ -10,7 +10,7 @@ import frc4388.robot.Robot;
|
||||
// NOTE: Consider using this command inline, rather than writing a subclass. For more
|
||||
// information, see:
|
||||
// https://docs.wpilib.org/en/stable/docs/software/commandbased/convenience-features.html
|
||||
public class AutoBalance extends PelvicInflamitoryDisease {
|
||||
public class AutoBalance extends PelvicInflammatoryDisease {
|
||||
Robot.MicroBot bot;
|
||||
|
||||
/** Creates a new AutoBalanceTF2. */
|
||||
|
||||
+3
-3
@@ -7,16 +7,16 @@ package frc4388.robot.commands;
|
||||
import edu.wpi.first.wpilibj2.command.CommandBase;
|
||||
import frc4388.utility.Gains;
|
||||
|
||||
public abstract class PelvicInflamitoryDisease extends CommandBase {
|
||||
public abstract class PelvicInflammatoryDisease extends CommandBase {
|
||||
protected Gains gains;
|
||||
private double output = 0;
|
||||
|
||||
/** Creates a new PelvicInflamitoryDisease. */
|
||||
public PelvicInflamitoryDisease(double kp, double ki, double kd, double kf) {
|
||||
public PelvicInflammatoryDisease(double kp, double ki, double kd, double kf) {
|
||||
gains = new Gains(kp, ki, kd, kf, 0);
|
||||
}
|
||||
|
||||
public PelvicInflamitoryDisease(Gains gains) {
|
||||
public PelvicInflammatoryDisease(Gains gains) {
|
||||
this.gains = gains;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user