Skip to content

Commit

Permalink
added code to show the booleans that RobotState is tracking on SmartD…
Browse files Browse the repository at this point in the history
…ashboard during teleop
  • Loading branch information
rflood07 authored and 2491NoMythic committed Feb 14, 2024
1 parent eeab5fc commit 94d795a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/frc/robot/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,9 @@ public void teleopPeriodic() {
SmartDashboard.putNumber("Is Note Seen?", limelight.getNeuralDetectorValues().ta);
RobotState.getInstance().IsNoteSeen = limelight.getNeuralDetectorValues().isResultValid;
}
SmartDashboard.putBoolean("is note seen", RobotState.getInstance().IsNoteSeen);
SmartDashboard.putBoolean("shooter in range", RobotState.getInstance().ShooterInRange);
SmartDashboard.putBoolean("shooter ready", RobotState.getInstance().ShooterReady);
}

public void disabledPeriodic() {
Expand Down

0 comments on commit 94d795a

Please sign in to comment.