Fixed cLaw Bug

This commit is contained in:
2025-01-20 09:02:52 -08:00
parent 4975e0f5ca
commit 172c6659dc

View File

@ -104,12 +104,12 @@ public class CometBotAutoDevelopment {
}
private void openClaw(){
if(currentGamepad2.right_bumper && !currentGamepad2.right_bumper){
if(currentGamepad2.right_bumper && !previousGamepad2.right_bumper){
claw.switchState();
}
}
private void openThumb(){
if(currentGamepad2.left_bumper && !currentGamepad2.left_bumper){
if(currentGamepad2.left_bumper && !previousGamepad2.left_bumper){
claw.switchTState();
}
}