Skip to content

Commit

Permalink
battery voltage display
Browse files Browse the repository at this point in the history
  • Loading branch information
eshen7 committed Aug 4, 2023
1 parent 036332f commit fe97ec8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/team3647/frc2023/robot/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import edu.wpi.first.wpilibj.Compressor;
import edu.wpi.first.wpilibj.PowerDistribution;
import edu.wpi.first.wpilibj.PowerDistribution.ModuleType;
import edu.wpi.first.wpilibj.RobotController;
import edu.wpi.first.wpilibj2.command.Command;
import edu.wpi.first.wpilibj2.command.CommandScheduler;
import edu.wpi.first.wpilibj2.command.Commands;
Expand Down Expand Up @@ -213,6 +214,7 @@ public void configureSmartDashboardLogging() {

printer.addBoolean("ground intake", superstructure::isBottomF);
printer.addBoolean("tof Dist", cubeWrist::isSensorTriggered);
printer.addBoolean("voltage good", () -> RobotController.getBatteryVoltage() > 12);

printer.addBoolean(
"Cube Ground",
Expand Down

0 comments on commit fe97ec8

Please sign in to comment.