Trying to debug pushkar's errors

This commit is contained in:
Abhishrek05
2022-01-25 19:56:32 -07:00
parent f9142d40d8
commit b430549b3f
3 changed files with 12 additions and 8 deletions
@@ -29,9 +29,7 @@ double input;
public boolean m_isDrumReady = false;
public double m_fireVel;
public Trims shooterTrims;
//public Trims shooterTrims;
public Hood m_hoodSubsystem;
public Turret m_turretSubsystem;
@@ -41,7 +39,7 @@ public Turret m_turretSubsystem;
public BoomBoom(){
//Testing purposes resetting gyros
//resetGryoAngleADj();
//shooterTrims = new Trims(0,0);
}
/** Creates a new BoomBoom. */
public BoomBoom(WPI_TalonFX shooterFalconLeft, WPI_TalonFX shooterFalconRight) {
@@ -126,7 +124,7 @@ public void setShooterGains() {
//Controls a motor with the output of the BangBang controller
//Controls a motor with the output of the BangBang conroller and a feedforward
//Shrinks the feedforward slightly to avoid over speeding the shooter
m_shooterFalconLeft.set(controller.calculate(encoder.getRate(), targetVel) + 0.9 * feedforward.calculate(targetVel)); */
m_shooterFalconLeft.set(controller.calculate(encoder.getRate(), targetVel) + 0.9 * feedforward.calculate(targetVel));;
}