mirror of
https://github.com/Team4388/2026KPopRobotHunters.git
synced 2026-06-09 00:38:03 -06:00
New bindings
This commit is contained in:
@@ -60,6 +60,8 @@
|
|||||||
"period": 0.033,
|
"period": 0.033,
|
||||||
"data_type": "double",
|
"data_type": "double",
|
||||||
"time_displayed": 5.0,
|
"time_displayed": 5.0,
|
||||||
|
"min_value": -1.0,
|
||||||
|
"max_value": 1.0,
|
||||||
"color": 4278238420,
|
"color": 4278238420,
|
||||||
"line_width": 2.0
|
"line_width": 2.0
|
||||||
}
|
}
|
||||||
@@ -76,6 +78,8 @@
|
|||||||
"period": 0.033,
|
"period": 0.033,
|
||||||
"data_type": "double",
|
"data_type": "double",
|
||||||
"time_displayed": 5.0,
|
"time_displayed": 5.0,
|
||||||
|
"min_value": -1.0,
|
||||||
|
"max_value": 1.0,
|
||||||
"color": 4278238420,
|
"color": 4278238420,
|
||||||
"line_width": 2.0
|
"line_width": 2.0
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -170,7 +170,7 @@ public class RobotContainer {
|
|||||||
|
|
||||||
private void configureSINGLEBindings() {
|
private void configureSINGLEBindings() {
|
||||||
|
|
||||||
String controllerInstructions = "Single Controller: \n- A: Reset Gyro \n- Right Bumper: Shift Up \n- Left Bumper: Shift Down \n- X Button: Roller On \n- Y Button: Roller Off \n- B Button: Labubu Growl \n- Back Button: Manual shoot \n- Menu Button: Expels balls";
|
String controllerInstructions = "Single Controller: \n- A: Reset Gyro \n- Right Bumper: Shift Up \n- Left Bumper: Shift Down \n- X Button: Roller On \n- Y Button: Roller Off \n- B Button: Labubu Growl \n- Right Trigger: Manual shoot \n- Menu Button: Expels balls";
|
||||||
|
|
||||||
SmartDashboard.putString("Controller Binds", controllerInstructions);
|
SmartDashboard.putString("Controller Binds", controllerInstructions);
|
||||||
|
|
||||||
@@ -183,7 +183,7 @@ public class RobotContainer {
|
|||||||
new JoystickButton(getDeadbandedDriverController(), XboxController.LEFT_BUMPER_BUTTON)
|
new JoystickButton(getDeadbandedDriverController(), XboxController.LEFT_BUMPER_BUTTON)
|
||||||
.onTrue(new InstantCommand(() -> m_robotSwerveDrive.shiftDown()));
|
.onTrue(new InstantCommand(() -> m_robotSwerveDrive.shiftDown()));
|
||||||
|
|
||||||
new JoystickButton(getDeadbandedDriverController(), XboxController.BACK_BUTTON)
|
new Trigger(() -> getDeadbandedDriverController().getRightTriggerAxis() >= 0.5)
|
||||||
.onTrue(new InstantCommand(() -> {
|
.onTrue(new InstantCommand(() -> {
|
||||||
m_robotShooter.spinUpFeeding();
|
m_robotShooter.spinUpFeeding();
|
||||||
m_robotIntake.rollerStop();
|
m_robotIntake.rollerStop();
|
||||||
@@ -194,8 +194,7 @@ public class RobotContainer {
|
|||||||
|
|
||||||
new JoystickButton(getDeadbandedDriverController(), XboxController.START_BUTTON)
|
new JoystickButton(getDeadbandedDriverController(), XboxController.START_BUTTON)
|
||||||
.onTrue(new InstantCommand(() -> {
|
.onTrue(new InstantCommand(() -> {
|
||||||
m_robotShooter.spinUpFeeding();
|
m_robotIntake.setMode(IntakeMode.ExpelBalls);
|
||||||
m_robotIntake.rollerStop();
|
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -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 = 242;
|
public static final int GIT_REVISION = 243;
|
||||||
public static final String GIT_SHA = "a15a6d08bf31c3ec80ed3e4327cbf214cc9781f5";
|
public static final String GIT_SHA = "41461c9b0707ba66adfc122d3799f0313a621389";
|
||||||
public static final String GIT_DATE = "2026-04-17 18:42:57 MDT";
|
public static final String GIT_DATE = "2026-04-27 23:50:59 MDT";
|
||||||
public static final String GIT_BRANCH = "DemoBranch-(No-Intake)";
|
public static final String GIT_BRANCH = "DemoBranch--(NoIntake)";
|
||||||
public static final String BUILD_DATE = "2026-04-27 23:44:57 MDT";
|
public static final String BUILD_DATE = "2026-04-27 23:56:02 MDT";
|
||||||
public static final long BUILD_UNIX_TIME = 1777355097369L;
|
public static final long BUILD_UNIX_TIME = 1777355762797L;
|
||||||
public static final int DIRTY = 1;
|
public static final int DIRTY = 1;
|
||||||
|
|
||||||
private BuildConstants(){}
|
private BuildConstants(){}
|
||||||
|
|||||||
Reference in New Issue
Block a user