goto 0 methods for hood + turret

This commit is contained in:
aarav18
2022-03-14 18:58:44 -06:00
parent 8a25b7c1d5
commit ed10b1e83f
4 changed files with 18 additions and 4 deletions
@@ -43,7 +43,7 @@ public class AimToCenter extends CommandBase {
@Override
public void execute() {
m_targetAngle = angleToCenter(x, y, m_drive.getRegGyro().getDegrees());
m_turret.runshooterRotatePID(m_targetAngle);
m_turret.runShooterRotatePID(m_targetAngle);
// Check if limelight is within range (comment out to disable vision odo)
if (Math.abs(m_turret.getBoomBoomAngleDegrees() - m_targetAngle) < VisionConstants.RANGE){