new edit
This commit is contained in:
@ -107,6 +107,7 @@ public class CometBotAutoDevelopment {
|
||||
claw.init();
|
||||
}
|
||||
private void hangSkyhook (){
|
||||
if(currentGamepad1.right_bumper && !previousGamepad1.right_bumper){
|
||||
dualSlides.toHangHeight();
|
||||
wrist.hangBlueberrySkyhook();
|
||||
try {
|
||||
@ -122,6 +123,7 @@ public class CometBotAutoDevelopment {
|
||||
throw new RuntimeException(e);
|
||||
}claw.closeClaw();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -137,7 +139,6 @@ public class CometBotAutoDevelopment {
|
||||
}
|
||||
private void armAndWristToFloor(){
|
||||
if(currentGamepad2.a && !previousGamepad2.a){
|
||||
|
||||
double increment = 0.7 - arm.getPosition();
|
||||
for(int i = 0; i < 3; i ++){
|
||||
arm.setPosition(arm.getPosition() + increment);
|
||||
|
Reference in New Issue
Block a user