moved in transfer
This commit is contained in:
@@ -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() {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user