Finished up Velocity Control PID

Shooter PID
This commit is contained in:
aarav18
2020-01-20 08:59:20 -08:00
parent de4265be23
commit a96cd7a3e2
3 changed files with 54 additions and 2 deletions
@@ -8,6 +8,7 @@
package frc4388.robot.subsystems;
import com.ctre.phoenix.motorcontrol.NeutralMode;
import com.ctre.phoenix.motorcontrol.TalonFXControlMode;
import com.ctre.phoenix.motorcontrol.can.WPI_TalonFX;
import edu.wpi.first.wpilibj2.command.SubsystemBase;
@@ -16,7 +17,7 @@ import frc4388.robot.Constants.ShooterConstants;
public class Shooter extends SubsystemBase {
WPI_TalonFX m_shooterFalcon = new WPI_TalonFX(ShooterConstants.SHOOTER_FALCON_ID);
public WPI_TalonFX m_shooterFalcon = new WPI_TalonFX(ShooterConstants.SHOOTER_FALCON_ID);
public static Gains m_shooterGains = ShooterConstants.SHOOTER_GAINS;