mirror of
https://github.com/Team4388/2022NoWayHome.git
synced 2026-06-09 00:38:05 -06:00
goto 0 methods for hood + turret
This commit is contained in:
@@ -90,7 +90,14 @@ public class Hood extends SubsystemBase {
|
||||
m_angleAdjusterMotor.set(input);
|
||||
}
|
||||
|
||||
public void resetGyroAngleAdj(){
|
||||
/**
|
||||
* Run a PID to go to the zero position.
|
||||
*/
|
||||
public void gotoZero() {
|
||||
runAngleAdjustPID(0);
|
||||
}
|
||||
|
||||
public void resetGyroAngleAdj() {
|
||||
m_angleEncoder.setPosition(0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user