Skip to content

Commit

Permalink
fixed shooting while moving forwards and backwards for blue alliance
Browse files Browse the repository at this point in the history
  • Loading branch information
2491NoMythic committed Nov 20, 2024
1 parent ba5af94 commit f1b1ea5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ public void updateOdometryWithVision() {
}
if(!doRejectUpdate) {
Logger.recordOutput("Vision/MergesPose", estimate.pose);
odometer.addVisionMeasurement(new Pose2d(estimate.pose.getX(), estimate.pose.getY(), getGyroscopeRotation()), estimate.timestampSeconds);
odometer.addVisionMeasurement(estimate.pose, estimate.timestampSeconds);
}
RobotState.getInstance().LimelightsUpdated = true;
} else {
Expand Down

0 comments on commit f1b1ea5

Please sign in to comment.