Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/SOTMVerticalMovement'
Browse files Browse the repository at this point in the history
  • Loading branch information
SherazF committed Mar 14, 2024
2 parents e7a13ab + ba094ed commit f825091
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/frc/robot/subsystems/Vision.java
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,8 @@ private void updateAngleToSpeaker() {
.plus(
Rotation2d.fromRadians(
Math.asin(
((VelocityY * PositionX + VelocityX * PositionY)) / (newDist * 5)))));
((VelocityY * PositionX + (VelocityX * 0.2) * PositionY))
/ (newDist * 5)))));
}
}
}
Expand Down

0 comments on commit f825091

Please sign in to comment.