Autos for the morrow

This commit is contained in:
Shikhar
2026-03-03 00:05:21 -07:00
parent 7064364dc8
commit 8cca0f81d1
23 changed files with 467 additions and 214 deletions
@@ -120,7 +120,7 @@ public class RobotContainer {
// );
private Command RobotRev = new SequentialCommandGroup(
new InstantCommand(() -> m_robotIntake.rollerStop(), m_robotIntake),
new InstantCommand(() -> m_robotIntake.setMode(IntakeMode.RollerStop), m_robotIntake),
new InstantCommand(() -> m_robotShooter.spinUpShooting(), m_robotShooter)
);
@@ -135,7 +135,7 @@ public class RobotContainer {
new InstantCommand(()-> m_robotShooter.allowShooting(), m_robotShooter),
new WaitCommand(2),
RobotIntakeRetracted,
new WaitCommand(4),
new WaitCommand(5),
new InstantCommand(() -> m_robotShooter.denyShooting(), m_robotShooter),
new InstantCommand(()->m_robotShooter.spinUpIdle(), m_robotShooter)
);
@@ -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 = 128;
public static final String GIT_SHA = "a769953c22bf4140820cc5a6e6457a2c0f57774a";
public static final String GIT_DATE = "2026-02-28 13:36:49 MST";
public static final int GIT_REVISION = 130;
public static final String GIT_SHA = "7064364dc8a8efab27ad1991e4af6ce06a523de3";
public static final String GIT_DATE = "2026-03-02 18:01:46 MST";
public static final String GIT_BRANCH = "shikhar-op-controls";
public static final String BUILD_DATE = "2026-02-28 13:52:47 MST";
public static final long BUILD_UNIX_TIME = 1772311967522L;
public static final String BUILD_DATE = "2026-03-02 19:33:31 MST";
public static final long BUILD_UNIX_TIME = 1772505211993L;
public static final int DIRTY = 1;
private BuildConstants(){}
@@ -20,7 +20,7 @@ public class Climber extends SubsystemBase {
public enum ClimberMode {
Extended,
Retracting,
Retracting
}
public void deploy() {
@@ -27,7 +27,8 @@ public class Intake extends SubsystemBase {
Retracted,
Extending,
Retracting,
Idle
Idle,
RollerStop
}
private IntakeMode mode = IntakeMode.Idle;
@@ -90,6 +91,9 @@ public class Intake extends SubsystemBase {
case Idle:
io.stopArm();
break;
case RollerStop:
io.setRollerOutput(state, 0);
break;
}
// if (state.retractedLimit){
// this.mode = IntakeMode.Retracted;