We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b354af2 commit 06d8391Copy full SHA for 06d8391
1 file changed
src/main/java/frc/robot/subsystems/drive/Drive.java
@@ -255,10 +255,10 @@ public void periodic() {
255
// Apply update
256
poseEstimator.updateWithTime(sampleTimestamps[i], rawGyroRotation, modulePositions);
257
258
- // Pose2d visionPose = getRobotVisionPose();
259
- // if(visionPose != null){
260
- // // poseEstimator.addVisionMeasurement(visionPose, sampleTimestamps[i]);
261
- // }
+ Pose2d visionPose = getRobotVisionPose();
+ if(visionPose != null){
+ //poseEstimator.addVisionMeasurement(visionPose, sampleTimestamps[i]);
+ }
262
}
263
264
// Update gyro alert
0 commit comments