Skip to content
This repository was archived by the owner on Aug 23, 2025. It is now read-only.

Commit cf08973

Browse files
committed
Fix turn to amp with circle
1 parent 6352f90 commit cf08973

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main/java/frc/robot/RobotContainer.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,9 @@ public void initDefaultCommands_teleop() {
159159
// return turnPower;
160160
// }
161161
// SmartDashboard.putBoolean("Turn to angle 2", false);
162+
if (swerveDrive.getTurnToAngleMode()) {
163+
return 0.0;
164+
}
162165
return commandDriverController.getRightX(); // Rotation
163166
},
164167

0 commit comments

Comments
 (0)