This commit is contained in:
Ryan Manley
2022-03-12 14:59:21 -07:00
parent 89ba3afb00
commit 79435399a3
9 changed files with 103 additions and 83 deletions
@@ -79,7 +79,10 @@ public double m_fireAngle;
m_angleAdjusterPIDController.setReference(targetAngle, ControlType.kPosition);
}
/**
* Runs the hood with the given input
* @param input value from -1.0 to 1.0, postive is upward (more horizontal shootijng angle)
*/
public void runHood(double input) {
m_angleAdjusterMotor.set(input);
}