This commit is contained in:
ryan123rudder
2020-02-26 17:31:57 -07:00
parent 011146b9ec
commit 1cc3aef303
11 changed files with 24 additions and 102 deletions
@@ -73,7 +73,7 @@ public class TrackTarget extends CommandBase {
} else if (turnAmount < 0 && turnAmount > -VisionConstants.MOTOR_DEAD_ZONE) {
turnAmount = -VisionConstants.MOTOR_DEAD_ZONE;
}
m_shooterAim.runShooterWithInput(turnAmount / 3);
m_shooterAim.runShooterWithInput(turnAmount);
// Finding Distance
distance = VisionConstants.TARGET_HEIGHT / Math.tan((VisionConstants.LIME_ANGLE + yAngle) * (Math.PI / 180));