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 committed Feb 12, 2024
1 parent 2a07804 commit 0f26be9
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 @@ -335,6 +335,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 0f26be9

Please sign in to comment.