Fixed cLaw Bug
This commit is contained in:
@ -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();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user