mirror of
https://github.com/Team4388/2026KPopRobotHunters.git
synced 2026-06-09 00:38:03 -06:00
Fix to robot java
This commit is contained in:
@@ -1,9 +1,4 @@
|
|||||||
{
|
{
|
||||||
"System Joysticks": {
|
|
||||||
"window": {
|
|
||||||
"enabled": false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"keyboardJoysticks": [
|
"keyboardJoysticks": [
|
||||||
{
|
{
|
||||||
"axisConfig": [
|
"axisConfig": [
|
||||||
|
|||||||
@@ -76,11 +76,6 @@ public class Robot extends LoggedRobot {
|
|||||||
// and running subsystem periodic() methods. This must be called from the robot's periodic
|
// 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.
|
// block in order for anything in the Command-based framework to work.
|
||||||
CommandScheduler.getInstance().run();
|
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.
|
* 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_GROUP = "";
|
||||||
public static final String MAVEN_NAME = "2026KPopRobotHunters";
|
public static final String MAVEN_NAME = "2026KPopRobotHunters";
|
||||||
public static final String VERSION = "unspecified";
|
public static final String VERSION = "unspecified";
|
||||||
public static final int GIT_REVISION = 148;
|
public static final int GIT_REVISION = 149;
|
||||||
public static final String GIT_SHA = "5b85bb4ace55dd116c3e80c496ad3ebf986ebfc8";
|
public static final String GIT_SHA = "ed7d0907b189f1b732408164152aca99f1ca5b81";
|
||||||
public static final String GIT_DATE = "2026-03-09 10:27:13 MDT";
|
public static final String GIT_DATE = "2026-03-17 00:31:53 MDT";
|
||||||
public static final String GIT_BRANCH = "Timer";
|
public static final String GIT_BRANCH = "Timer";
|
||||||
public static final String BUILD_DATE = "2026-03-17 00:27:11 MDT";
|
public static final String BUILD_DATE = "2026-03-17 12:46:28 MDT";
|
||||||
public static final long BUILD_UNIX_TIME = 1773728831770L;
|
public static final long BUILD_UNIX_TIME = 1773773188939L;
|
||||||
public static final int DIRTY = 1;
|
public static final int DIRTY = 1;
|
||||||
|
|
||||||
private BuildConstants(){}
|
private BuildConstants(){}
|
||||||
|
|||||||
@@ -104,7 +104,11 @@ public class Shooter extends SubsystemBase {
|
|||||||
@Override
|
@Override
|
||||||
public void periodic() {
|
public void periodic() {
|
||||||
// FaultReporter.register(this); // TODO Implement fault reporter
|
// 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);
|
Logger.processInputs("Shooter", state);
|
||||||
|
|
||||||
io.updateInputs(state);
|
io.updateInputs(state);
|
||||||
|
|||||||
Reference in New Issue
Block a user