mirror of
https://github.com/Team4388/2019-Hit-or-Miss.git
synced 2026-06-09 00:28:05 -06:00
Arm Led and PID update
This commit is contained in:
@@ -103,6 +103,7 @@ public class OI
|
||||
|
||||
JoystickButton stow = new JoystickButton(m_operatorXbox.getJoyStick(), XboxController.B_BUTTON);
|
||||
stow.whenPressed(new StowArm());
|
||||
stow.whenPressed(new setLEDPattern(LEDPatterns.SOLID_RED));
|
||||
|
||||
SmartDashboard.putData("switch to manuel", new SetManual());
|
||||
// SmartDashboard.putData("run turn test", new TestTurn());
|
||||
|
||||
@@ -87,7 +87,7 @@ public class Wrist extends Subsystem implements ControlLoopable
|
||||
public static final double KF_DOWN = 0.0;
|
||||
public static final double P_Value = 3;
|
||||
public static final double I_Value = 0.001;
|
||||
public static final double D_Value = 250;
|
||||
public static final double D_Value = 300;
|
||||
public static final double RampRate = 0.0;
|
||||
private PIDParams wristPIDParams = new PIDParams(P_Value, I_Value, D_Value, KF_DOWN); // KF gets updated later
|
||||
public static final double PID_ERROR_INCHES = 150;
|
||||
|
||||
Reference in New Issue
Block a user