fix auto issue

This commit is contained in:
mimigamin
2026-04-07 22:46:24 -06:00
parent 118dcee1c7
commit ecdc0bfd6f
5 changed files with 39 additions and 76 deletions
@@ -52,7 +52,19 @@
{
"type": "wait",
"data": {
"waitTime": 4.35
"waitTime": 1.5
}
},
{
"type": "named",
"data": {
"name": "Labubu Growl"
}
},
{
"type": "wait",
"data": {
"waitTime": 2.8499999999999996
}
},
{
@@ -61,38 +73,6 @@
"name": "Robot Rev Up"
}
},
{
"type": "wait",
"data": {
"waitTime": 1.5
}
},
{
"type": "parallel",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "Robot Shoot Driving"
}
},
{
"type": "named",
"data": {
"name": "Robot Shoot"
}
}
]
}
}
]
}
},
{
"type": "sequential",
"data": {
"commands": [
{
"type": "wait",
"data": {
@@ -102,7 +82,7 @@
{
"type": "named",
"data": {
"name": "Labubu Growl"
"name": "Robot Shoot"
}
}
]
@@ -33,7 +33,19 @@
{
"type": "wait",
"data": {
"waitTime": 13.1
"waitTime": 1.5
}
},
{
"type": "named",
"data": {
"name": "Labubu Growl"
}
},
{
"type": "wait",
"data": {
"waitTime": 11.6
}
},
{
@@ -42,38 +54,6 @@
"name": "Robot Rev Up"
}
},
{
"type": "wait",
"data": {
"waitTime": 1.5
}
},
{
"type": "parallel",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "Robot Shoot Driving"
}
},
{
"type": "named",
"data": {
"name": "Robot Shoot"
}
}
]
}
}
]
}
},
{
"type": "sequential",
"data": {
"commands": [
{
"type": "wait",
"data": {
@@ -83,7 +63,7 @@
{
"type": "named",
"data": {
"name": "Labubu Growl"
"name": "Robot Shoot"
}
}
]
@@ -140,7 +140,6 @@ public class RobotContainer {
new InstantCommand(() -> m_robotShooter.spinUpShooting(), m_robotShooter),
IntakeExtended,
new InstantCommand(() -> m_robotIntake.setMode(IntakeMode.ExpelBalls), m_robotIntake)
// new InstantCommand(() -> m_robotIntake.setMode(IntakeMode.Idle), m_robotIntake)
);
private Command WaitIntakeReference =
@@ -607,7 +606,7 @@ public class RobotContainer {
public boolean autoChooserUpdated = false;
public void makeAutoChooser() {
autoChooser = new SendableChooser<String>();
autoChooser.setDefaultOption("None", "None");
File dir;
if(RobotBase.isReal()) {
@@ -630,6 +629,10 @@ public class RobotContainer {
autoChooser.onChange((filename) -> {
autoChooserUpdated = true;
if (filename == null || filename.equals("None")) {
autoCommand = null;
return;
}
// if (filename.equals("Taxi%")) {
// autoCommand = new SequentialCommandGroup(
// new MoveForTimeCommand(m_robotSwerveDrive,
@@ -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 = 221;
public static final String GIT_SHA = "1636a054ed1e688234fe329b76f567d6af08081f";
public static final String GIT_DATE = "2026-04-06 22:44:17 MDT";
public static final int GIT_REVISION = 222;
public static final String GIT_SHA = "118dcee1c7dca32d23fa40f275d9ba433046fcf4";
public static final String GIT_DATE = "2026-04-07 20:37:26 MDT";
public static final String GIT_BRANCH = "New-Intake";
public static final String BUILD_DATE = "2026-04-07 20:27:10 MDT";
public static final long BUILD_UNIX_TIME = 1775615230294L;
public static final String BUILD_DATE = "2026-04-07 22:44:56 MDT";
public static final long BUILD_UNIX_TIME = 1775623496023L;
public static final int DIRTY = 1;
private BuildConstants(){}
@@ -74,7 +74,7 @@ public class Intake extends SubsystemBase {
}
public boolean intakeAtReference() {
return state.extendedSoftLimit;
return true;//state.extendedSoftLimit;
}
public double getRollerSpeed() {