mirror of
https://github.com/Team4388/2026KPopRobotHunters.git
synced 2026-06-09 00:38:03 -06:00
Autos for Pike
This commit is contained in:
@@ -121,9 +121,9 @@ public class RobotContainer {
|
||||
// );
|
||||
|
||||
private Command RobotRev = new SequentialCommandGroup(
|
||||
new InstantCommand(() -> m_robotIntake.setMode(IntakeMode.Idle), m_robotIntake),
|
||||
new InstantCommand(() -> m_robotIntake.rollerStop(), m_robotIntake),
|
||||
new InstantCommand(() -> m_robotShooter.spinUpShooting(), m_robotShooter)
|
||||
new InstantCommand(() -> m_robotShooter.spinUpShooting(), m_robotShooter),
|
||||
IntakeExtended,
|
||||
new InstantCommand(() -> m_robotIntake.setMode(IntakeMode.RollerStop), m_robotIntake)
|
||||
);
|
||||
|
||||
private Command RobotIntakeRetracted = new SequentialCommandGroup(
|
||||
|
||||
@@ -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 = 141;
|
||||
public static final String GIT_SHA = "5b467df2cab912af2e96e94d2d51490e7da2f0bb";
|
||||
public static final String GIT_DATE = "2026-03-04 19:33:17 MST";
|
||||
public static final String GIT_BRANCH = "Autos-for-pike";
|
||||
public static final String BUILD_DATE = "2026-03-04 20:10:01 MST";
|
||||
public static final long BUILD_UNIX_TIME = 1772680201068L;
|
||||
public static final int GIT_REVISION = 142;
|
||||
public static final String GIT_SHA = "183caaa9700e236fb017be9702c4acc285fc6b98";
|
||||
public static final String GIT_DATE = "2026-03-05 17:22:50 MST";
|
||||
public static final String GIT_BRANCH = "master";
|
||||
public static final String BUILD_DATE = "2026-03-05 18:03:37 MST";
|
||||
public static final long BUILD_UNIX_TIME = 1772759017911L;
|
||||
public static final int DIRTY = 1;
|
||||
|
||||
private BuildConstants(){}
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user