mirror of
https://github.com/Team4388/2024AcrossTheRidgebotiverse.git
synced 2026-06-09 08:48:03 -06:00
micha;
This commit is contained in:
@@ -30,6 +30,7 @@ public class Limelight extends SubsystemBase {
|
||||
}
|
||||
|
||||
private void update() {
|
||||
SmartDashboard.putBoolean("Apriltag", isTag);
|
||||
if(!isTag){
|
||||
return;
|
||||
}
|
||||
@@ -55,7 +56,6 @@ public class Limelight extends SubsystemBase {
|
||||
isNearSpeaker = distance <= VisionConstants.SpeakerBubbleDistance;
|
||||
|
||||
SmartDashboard.putBoolean("nearSpeaker", isNearSpeaker);
|
||||
SmartDashboard.putBoolean("Apriltag", isTag);
|
||||
SmartDashboard.putNumber("speakerDistance", distance);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user