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)
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();