Skip to content

Commit

Permalink
send zero gyro command to Shuffleboard
Browse files Browse the repository at this point in the history
  • Loading branch information
willitcode committed Mar 13, 2024
1 parent ea71ca1 commit d756ee1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main/java/frc/robot/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
import frc.robot.commands.auto.TaxiAuto;
import frc.robot.commands.drive.DriveFieldOrientedHeadingSnapping;
import frc.robot.commands.drive.DriveRobot;
import frc.robot.commands.drive.ZeroGyro;
import frc.robot.commands.mailbox.DeindexNote;
import frc.robot.commands.mailbox.DeployMailbox;
import frc.robot.commands.mailbox.DeployPneumatics;
Expand Down Expand Up @@ -226,6 +227,9 @@ public class RobotContainer {
/** Singleton instance of {@link ClearPDPStickyFaults} for the whole robot. */
public static ClearPDPStickyFaults clearPDPStickyFaults = new ClearPDPStickyFaults();

/** Singleton instance of {@link ZeroGyro} for the whole robot. */
public static ZeroGyro zeroGyro = new ZeroGyro();

/*
* ***********************
* * OTHER INSTANCE VARS *
Expand All @@ -242,6 +246,7 @@ public RobotContainer() {
configureBindings();
configureAuto();
Shuffleboard.getTab("Driver").add("Clear PDP sticky faults", clearPDPStickyFaults);
Shuffleboard.getTab("Driver").add("Zero Gyro", zeroGyro);

drive.setDefaultCommand(driveRobotOriented);
}
Expand Down

0 comments on commit d756ee1

Please sign in to comment.