Skip to content

Commit 6654083

Browse files
committed
Degrees or Radians?
1 parent 110dcc0 commit 6654083

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/frc/robot/subsystems/Swerve.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,7 @@ public void periodic() {
327327
// }
328328

329329
Boolean doRejectUpdateMt2 = false;
330+
//Change to Radians?
330331
LimelightHelpers.SetRobotOrientation(Constants.LimelightConstants.limelightName, swerveDrive.getYaw().getDegrees(), 0, 0, 0, 0, 0);
331332
LimelightHelpers.PoseEstimate mt2 = LimelightHelpers.getBotPoseEstimate_wpiBlue_MegaTag2(Constants.LimelightConstants.limelightName);
332333
// if(Math.abs(getGyroAngle().getRotations()) > 720) // if our angular velocity is greater than 720 degrees per second, ignore vision updates

0 commit comments

Comments
 (0)