This commit is contained in:
2025-01-23 16:40:52 -08:00
parent 90355add55
commit 3f08d9b00b

View File

@ -106,7 +106,7 @@ public class CometBotAutoDevelopment {
if(arm.getState() == ArmSubsystem.ArmState.GRAB_BLUEBERRY_SKYHOOK) if(arm.getState() == ArmSubsystem.ArmState.GRAB_BLUEBERRY_SKYHOOK)
claw.init(); claw.init();
} }
private void hangSkyhook (){ private void hangSkyhook(){
if(currentGamepad1.right_bumper && !previousGamepad1.right_bumper){ if(currentGamepad1.right_bumper && !previousGamepad1.right_bumper){
dualSlides.toHangHeight(); dualSlides.toHangHeight();
wrist.hangBlueberrySkyhook(); wrist.hangBlueberrySkyhook();
@ -118,7 +118,7 @@ public class CometBotAutoDevelopment {
arm.hangBlueberrySkyhook(); arm.hangBlueberrySkyhook();
if(arm.getState() == ArmSubsystem.ArmState.HANG_BLUEBERRY_SKYHOOK){ if(arm.getState() == ArmSubsystem.ArmState.HANG_BLUEBERRY_SKYHOOK){
try { try {
Thread.sleep(1000); Thread.sleep(2000);
} catch (InterruptedException e) { } catch (InterruptedException e) {
throw new RuntimeException(e); throw new RuntimeException(e);
}claw.closeClaw(); }claw.closeClaw();