Skip to content

Commit

Permalink
fix: convert angular velocity to degrees
Browse files Browse the repository at this point in the history
  • Loading branch information
mimizh2418 committed Sep 26, 2024
1 parent 738b0fd commit ae7ba1a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public void updateInputs(AprilTagVisionIOInputs inputs) {
LimelightHelpers.SetRobotOrientation(
name,
heading.get().getDegrees(),
headingVelocityRadPerSec.getAsDouble(),
Math.toDegrees(headingVelocityRadPerSec.getAsDouble()),
0, 0, 0, 0);
LimelightHelpers.PoseEstimate measurement =
DriverStation.isDisabled()
Expand Down

0 comments on commit ae7ba1a

Please sign in to comment.