moved in transfer

This commit is contained in:
DanTheMan-byte
2025-11-11 20:53:59 -06:00
parent 7f968de6a8
commit abe5d0899f

View File

@@ -25,24 +25,26 @@ public class Transfer implements Subsystem{
} }
public void setTransferPositionOn(){ public void setTransferPosition(double pos){
this.servoPos = transferServo_in; this.servoPos = pos;
} }
public void setTransferPositionOff(){ public void setTransferPower (double pow){
this.servoPos = transferServo_out; this.motorPow = pow;
} }
public void setTransferPowerOn (){ public void transferOut(){
this.motorPow = -1; this.setTransferPosition(transferServo_out);
} }
public void setTransferPowerOff (){ public void transferIn(){
this.motorPow = 0; this.setTransferPosition(transferServo_in);
} }
@Override @Override
public void update() { public void update() {