Skip to content

Commit

Permalink
Adjust tipped degree - auto balance
Browse files Browse the repository at this point in the history
  • Loading branch information
TimnJoey committed Jun 4, 2023
1 parent 6b67073 commit 33f2973
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/frc/robot/subsystems/Drive.java
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ public CommandBase driveUntilTipped(boolean forward) {
move(0.0, UNTIL_TIPPED_SPEED, 0.0);
}

}).runsUntil(() -> Math.abs(this.getTilt()) > 6).onEnd((() -> {
}).runsUntil(() -> Math.abs(this.getTilt()) > 4).onEnd((() -> {
Logger.getInstance().recordOutput("AutoBalanceState", "tipped");
})).withTimeout(1.5);
}
Expand Down

0 comments on commit 33f2973

Please sign in to comment.