fix bug
This commit is contained in:
@ -106,7 +106,7 @@ public class CometBotAutoDevelopment {
|
||||
if(arm.getState() == ArmSubsystem.ArmState.GRAB_BLUEBERRY_SKYHOOK)
|
||||
claw.init();
|
||||
}
|
||||
private void hangSkyhook (){
|
||||
private void hangSkyhook(){
|
||||
if(currentGamepad1.right_bumper && !previousGamepad1.right_bumper){
|
||||
dualSlides.toHangHeight();
|
||||
wrist.hangBlueberrySkyhook();
|
||||
@ -118,7 +118,7 @@ public class CometBotAutoDevelopment {
|
||||
arm.hangBlueberrySkyhook();
|
||||
if(arm.getState() == ArmSubsystem.ArmState.HANG_BLUEBERRY_SKYHOOK){
|
||||
try {
|
||||
Thread.sleep(1000);
|
||||
Thread.sleep(2000);
|
||||
} catch (InterruptedException e) {
|
||||
throw new RuntimeException(e);
|
||||
}claw.closeClaw();
|
||||
|
Reference in New Issue
Block a user