File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed
src/main/java/org/frc6423/robot Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -36,9 +36,6 @@ public class Robot extends CommandRobot implements Logged {
3636 // * SUBSYSTEM INIT
3737 /** Replace this line with subsystem declerations */
3838
39- // * TRIGGER INIT
40- /** Replace this line with trigger declerations */
41-
4239 // * ALERT INIT
4340 private final Alert batteryBrownout = new Alert ("Battery voltage output low" , AlertType .kWarning );
4441
@@ -89,6 +86,13 @@ public Robot() {
8986
9087 /** Update all driver dashboard values on NetworkTables */
9188 private void updateDashboard () {
89+ // Update Visualizers
90+ SmartDashboard .putNumber ("Battery Volts" , RobotController .getBatteryVoltage ());
91+ SmartDashboard .putNumber ("CPU Temps" , RobotController .getCPUTemp ());
92+ SmartDashboard .putBoolean ("RSL status" , RobotController .getRSLState ());
93+ SmartDashboard .putNumber ("Match Time" , DriverStation .getMatchTime ());
94+
95+ // Update Alerts
9296 batteryBrownout .set (RobotController .isBrownedOut ());
9397 driverDisconnected .set (!driverController .isConnected ());
9498 operatorDisconnected .set (!operatorController .isConnected ());
You can’t perform that action at this time.
0 commit comments