We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 07bbefc commit 369f26bCopy full SHA for 369f26b
1 file changed
src/main/java/frc/robot/subsystems/drive/Drive.java
@@ -245,8 +245,13 @@ public void periodic() {
245
0,
246
0);
247
if (DriverStation.getAlliance().isPresent() && visionInputs.aTV) {
248
- // mt2TagFiltering();
249
- visionLogic();
+ if (visionInputs.tagCount > 1 || DriverStation.isDisabled()) {
+ visionLogic();
250
+ } else {
251
+ mt2TagFiltering();
252
+ }
253
+
254
255
}
256
257
Logger.recordOutput("note time", getCachedNoteTime());
0 commit comments