Fix height adjust with intake

This commit is contained in:
Scott Barnes 2023-11-30 20:28:37 -06:00
parent b308fcd59a
commit 0fc58a36e8
1 changed files with 3 additions and 0 deletions

View File

@ -74,6 +74,9 @@ public class Intake {
public void setDcMotor(double pwr) {
dcMotor.setPower(pwr);
if (pwr >= 0.01) {
this.setpos(this.pos);
}
}
public double getPower() {