Fix typo, changed to right_bumper
This commit is contained in:
@ -131,7 +131,7 @@ public class CometBotTeleopCompetition {
|
|||||||
Action: Increases maximum speed by +.05
|
Action: Increases maximum speed by +.05
|
||||||
*/
|
*/
|
||||||
public void increaseMaxPower() {
|
public void increaseMaxPower() {
|
||||||
if (this.currentGP1.left_bumper && !this.previousGP1.left_bumper) {
|
if (this.currentGP1.right_bumper && !this.previousGP1.right_bumper) {
|
||||||
this.currentPower = this.currentPower + .05;
|
this.currentPower = this.currentPower + .05;
|
||||||
this.follower.setMaxPower(this.currentPower);
|
this.follower.setMaxPower(this.currentPower);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user