Fix to robot java

This commit is contained in:
Shikhar
2026-03-18 12:02:24 -06:00
parent ed7d0907b1
commit 03d95a273d
4 changed files with 10 additions and 16 deletions
-5
View File
@@ -76,11 +76,6 @@ public class Robot extends LoggedRobot {
// and running subsystem periodic() methods. This must be called from the robot's periodic
// block in order for anything in the Command-based framework to work.
CommandScheduler.getInstance().run();
//Hub Shift logs
ShiftInfo info = HubShiftTimer.getShiftInfo();
Logger.recordOutput("HubShift/IsActive", info.isActive());
Logger.recordOutput("HubShift/RemainingInShift", info.remainingInShift());
Logger.recordOutput("HubShift/Phase", info.phase().name());
}
/**
* This function is called once each time the robot enters Disabled mode.
@@ -7,12 +7,12 @@ public final class BuildConstants {
public static final String MAVEN_GROUP = "";
public static final String MAVEN_NAME = "2026KPopRobotHunters";
public static final String VERSION = "unspecified";
public static final int GIT_REVISION = 148;
public static final String GIT_SHA = "5b85bb4ace55dd116c3e80c496ad3ebf986ebfc8";
public static final String GIT_DATE = "2026-03-09 10:27:13 MDT";
public static final int GIT_REVISION = 149;
public static final String GIT_SHA = "ed7d0907b189f1b732408164152aca99f1ca5b81";
public static final String GIT_DATE = "2026-03-17 00:31:53 MDT";
public static final String GIT_BRANCH = "Timer";
public static final String BUILD_DATE = "2026-03-17 00:27:11 MDT";
public static final long BUILD_UNIX_TIME = 1773728831770L;
public static final String BUILD_DATE = "2026-03-17 12:46:28 MDT";
public static final long BUILD_UNIX_TIME = 1773773188939L;
public static final int DIRTY = 1;
private BuildConstants(){}
@@ -104,7 +104,11 @@ public class Shooter extends SubsystemBase {
@Override
public void periodic() {
// FaultReporter.register(this); // TODO Implement fault reporter
//Hub Shift logs
ShiftInfo info = HubShiftTimer.getShiftInfo();
Logger.recordOutput("HubShift/IsActive", info.isActive());
Logger.recordOutput("HubShift/RemainingInShift", info.remainingInShift());
Logger.recordOutput("HubShift/Phase", info.phase().name());
Logger.processInputs("Shooter", state);
io.updateInputs(state);