Skip to content

Commit

Permalink
Merge pull request #307 from jwt388/Vision_Crash
Browse files Browse the repository at this point in the history
  • Loading branch information
thenetworkgrinch authored Jan 23, 2025
2 parents e572131 + b678313 commit 43020b7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/frc/robot/subsystems/swervedrive/Vision.java
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,8 @@ enum Cameras
/**
* Estimated robot pose.
*/
public Optional<EstimatedRobotPose> estimatedRobotPose;
public Optional<EstimatedRobotPose> estimatedRobotPose = Optional.empty();

/**
* Simulated camera instance which only exists during simulations.
*/
Expand Down

0 comments on commit 43020b7

Please sign in to comment.