Rework Command Groups to use Prep Checker

This commit is contained in:
Keenan D. Buckley
2020-03-03 01:12:07 -07:00
parent 1b603d4f5d
commit 9288d2b934
13 changed files with 105 additions and 140 deletions
@@ -32,7 +32,7 @@ public class Shooter extends SubsystemBase {
public ShooterTables m_shooterTable;
public boolean velReached;
public boolean m_isDrumReady = false;
public double m_fireVel;
public Trims shooterTrims;
@@ -28,6 +28,8 @@ public class ShooterAim extends SubsystemBase {
public static Gains m_shooterTurretGains = ShooterConstants.SHOOTER_TURRET_GAINS;
CANDigitalInput m_shooterRightLimit, m_shooterLeftLimit;
public boolean m_isAimReady = false;
// Configure PID Controllers
CANPIDController m_shooterRotatePIDController = m_shooterRotateMotor.getPIDController();
public CANEncoder m_shooterRotateEncoder = m_shooterRotateMotor.getEncoder();
@@ -33,6 +33,8 @@ public class ShooterHood extends SubsystemBase {
public CANPIDController m_angleAdjustPIDController = m_angleAdjustMotor.getPIDController();
public CANEncoder m_angleEncoder = m_angleAdjustMotor.getEncoder();
public boolean m_isHoodReady = false;
public double m_fireAngle;
public CANDigitalInput m_hoodUpLimit, m_hoodDownLimit;
@@ -31,6 +31,7 @@ public class Storage extends SubsystemBase {
Intake m_intake;
public boolean m_isStorageReadyToFire = false;
/**
* Creates a new Storage.