Skip to content

Commit

Permalink
Fix default left
Browse files Browse the repository at this point in the history
  • Loading branch information
Bill authored and Bill committed Feb 25, 2025
1 parent bc34be8 commit 230aad3
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
import team.gif.robot.commands.elevator.SetElevatorPosition;

public class AutonAutoShoot extends Command {

private boolean hasTarget;

public AutonAutoShoot() {
super();
addRequirements(Robot.swerveDrive);
Expand All @@ -29,7 +31,7 @@ public void execute() {

// if neither sensor is active, default to moving left
if (!leftSensor && !rightSensor) {
Robot.swerveDrive.drive(0.0, -0.15, 0.0);
Robot.swerveDrive.drive(0.0, 0.15, 0.0);
}

// if only the right sensor is active, move right
Expand Down

0 comments on commit 230aad3

Please sign in to comment.