Skip to content

Commit

Permalink
Update gyro using vision
Browse files Browse the repository at this point in the history
  • Loading branch information
BrownGenius committed Mar 28, 2024
1 parent 3f4aa2a commit c16aa84
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ public void periodic() {
RobotConfig.drive.addVisionMeasurement(
currentEstimatedRobotPose.get().estimatedPose.toPose2d(),
currentEstimatedRobotPose.get().timestampSeconds,
VecBuilder.fill(distance / 2, distance / 2, 100));
VecBuilder.fill(distance / 2, distance / 2, distance/2));
}

if (camera == primaryCamera) {
Expand Down

0 comments on commit c16aa84

Please sign in to comment.