From 1f551259a87e40a734b5d33ddaf30adee6b2fbec Mon Sep 17 00:00:00 2001 From: mychenezpz <120135435+mychenezpz@users.noreply.github.com> Date: Mon, 16 Dec 2024 17:17:39 -0500 Subject: [PATCH 1/8] espz done --- src/main/java/frc/robot/RobotContainer.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/java/frc/robot/RobotContainer.java b/src/main/java/frc/robot/RobotContainer.java index de2c9d0..484b6dd 100644 --- a/src/main/java/frc/robot/RobotContainer.java +++ b/src/main/java/frc/robot/RobotContainer.java @@ -12,7 +12,10 @@ public RobotContainer() { configureBindings(); } - private void configureBindings() {} + private void configureBindings() { + private final CommandXboxController Capsojaspofopjasopjsafjos = new CommandXboxController(4); + private final Trigger poajpoijafspojiafpjoiadfpojasfpoijafwpopojafpoapoas= new Trigger.a(); + } public Command getAutonomousCommand() { return Commands.print("No autonomous command configured"); From ed811e5cc5ab1fc2c3899f020329ebff6b5503c2 Mon Sep 17 00:00:00 2001 From: mychenezpz <120135435+mychenezpz@users.noreply.github.com> Date: Mon, 16 Dec 2024 17:30:16 -0500 Subject: [PATCH 2/8] soajpoasjfopasjfpppppppppppppjjjjiowwi82398989239898239889233899999999910000000008398842222222222222222222222222222222222222222222221022222222099999999929110000101122991022299991111111388749965883783 --- src/main/java/frc/robot/RobotContainer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/frc/robot/RobotContainer.java b/src/main/java/frc/robot/RobotContainer.java index 484b6dd..2e28ba9 100644 --- a/src/main/java/frc/robot/RobotContainer.java +++ b/src/main/java/frc/robot/RobotContainer.java @@ -14,7 +14,7 @@ public RobotContainer() { private void configureBindings() { private final CommandXboxController Capsojaspofopjasopjsafjos = new CommandXboxController(4); - private final Trigger poajpoijafspojiafpjoiadfpojasfpoijafwpopojafpoapoas= new Trigger.a(); + private final Trigger poajpoijafspojiafpjoiadfpojasfpoijafwpopojafpoapoas= new Capsojaspofopjasopjsafjos.a(); } public Command getAutonomousCommand() { From 19d92124b8ffd2b0d1333a63c32296186e66f213 Mon Sep 17 00:00:00 2001 From: mychenezpz <120135435+mychenezpz@users.noreply.github.com> Date: Mon, 16 Dec 2024 17:54:27 -0500 Subject: [PATCH 3/8] jjkjk --- src/main/java/frc/robot/RobotContainer.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/frc/robot/RobotContainer.java b/src/main/java/frc/robot/RobotContainer.java index 2e28ba9..b122155 100644 --- a/src/main/java/frc/robot/RobotContainer.java +++ b/src/main/java/frc/robot/RobotContainer.java @@ -15,6 +15,7 @@ public RobotContainer() { private void configureBindings() { private final CommandXboxController Capsojaspofopjasopjsafjos = new CommandXboxController(4); private final Trigger poajpoijafspojiafpjoiadfpojasfpoijafwpopojafpoapoas= new Capsojaspofopjasopjsafjos.a(); + } public Command getAutonomousCommand() { From 1288c0ec22d1bbb04edfb4bf3b2a312f08a2d654 Mon Sep 17 00:00:00 2001 From: mychenezpz <120135435+mychenezpz@users.noreply.github.com> Date: Wed, 18 Dec 2024 17:16:00 -0500 Subject: [PATCH 4/8] FIXED ERRROOOOOOOOOOOOOORRRRRRR --- src/main/java/frc/robot/RobotContainer.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/frc/robot/RobotContainer.java b/src/main/java/frc/robot/RobotContainer.java index b122155..1882450 100644 --- a/src/main/java/frc/robot/RobotContainer.java +++ b/src/main/java/frc/robot/RobotContainer.java @@ -6,7 +6,8 @@ import edu.wpi.first.wpilibj2.command.Command; import edu.wpi.first.wpilibj2.command.Commands; - +import edu.wpi.first.wpilibj2.CommandXboxController; +import edu.wpi.first.wpilibj2.Trigger; public class RobotContainer { public RobotContainer() { configureBindings(); From ec06b6d7dc6cc8b4cc40c98a7ab66295ec7c8e79 Mon Sep 17 00:00:00 2001 From: mychenezpz <120135435+mychenezpz@users.noreply.github.com> Date: Wed, 18 Dec 2024 17:28:25 -0500 Subject: [PATCH 5/8] FIXED --- src/main/java/frc/robot/RobotContainer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/frc/robot/RobotContainer.java b/src/main/java/frc/robot/RobotContainer.java index 1882450..0161be8 100644 --- a/src/main/java/frc/robot/RobotContainer.java +++ b/src/main/java/frc/robot/RobotContainer.java @@ -15,7 +15,7 @@ public RobotContainer() { private void configureBindings() { private final CommandXboxController Capsojaspofopjasopjsafjos = new CommandXboxController(4); - private final Trigger poajpoijafspojiafpjoiadfpojasfpoijafwpopojafpoapoas= new Capsojaspofopjasopjsafjos.a(); + private final Trigger poajpoijafspojiafpjoiadfpojasfpoijafwpopojafpoapoas= Capsojaspofopjasopjsafjos.a(); } From 96078f7f7eb8a26dbec35e3ee1abb98234dcca13 Mon Sep 17 00:00:00 2001 From: mychenezpz <120135435+mychenezpz@users.noreply.github.com> Date: Wed, 18 Dec 2024 17:32:16 -0500 Subject: [PATCH 6/8] format --- .../simulation/mechanismSim/swerve/BrushlessMotorSim.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/frc/robot/extras/simulation/mechanismSim/swerve/BrushlessMotorSim.java b/src/main/java/frc/robot/extras/simulation/mechanismSim/swerve/BrushlessMotorSim.java index 5ba3122..a5373a9 100644 --- a/src/main/java/frc/robot/extras/simulation/mechanismSim/swerve/BrushlessMotorSim.java +++ b/src/main/java/frc/robot/extras/simulation/mechanismSim/swerve/BrushlessMotorSim.java @@ -61,7 +61,7 @@ public class BrushlessMotorSim { * * @param motor the {@link DCMotor} model representing the motor(s) in the simulation * @param gearRatio the gear ratio of the mechanism; values greater than 1 indicate a reduction - * @param loadIntertiaJKgMetersSquared the rotational inertia of the mechanism, in kg·m² + * @param loadIntertiaJKgMetersSquared the rotational inertia of the mechanism, in kg*m^2 * @param frictionVoltage the voltage required to overcome friction and make the mechanism move */ public BrushlessMotorSim( From 9d3e636ee2665fe5e3fa9eb1ca9703292c435c11 Mon Sep 17 00:00:00 2001 From: Ishan <98932677+Ishan1522@users.noreply.github.com> Date: Sat, 21 Dec 2024 05:28:39 -0500 Subject: [PATCH 7/8] push changes --- src/main/java/frc/robot/BuildConstants.java | 20 +++++++++++--------- src/main/java/frc/robot/RobotContainer.java | 10 ++++++---- 2 files changed, 17 insertions(+), 13 deletions(-) diff --git a/src/main/java/frc/robot/BuildConstants.java b/src/main/java/frc/robot/BuildConstants.java index de35250..e3450e9 100644 --- a/src/main/java/frc/robot/BuildConstants.java +++ b/src/main/java/frc/robot/BuildConstants.java @@ -1,17 +1,19 @@ package frc.robot; -/** Automatically generated file containing build version information. */ +/** + * Automatically generated file containing build version information. + */ public final class BuildConstants { public static final String MAVEN_GROUP = ""; - public static final String MAVEN_NAME = "4829-BaseRobotCode"; + public static final String MAVEN_NAME = "4829-BaseRobotCode-1"; public static final String VERSION = "unspecified"; - public static final int GIT_REVISION = 15; - public static final String GIT_SHA = "f6cf5383d95d1116029cbb69e2db020295f5c2bf"; - public static final String GIT_DATE = "2024-11-09 19:29:39 EST"; - public static final String GIT_BRANCH = "actual-unit-tests"; - public static final String BUILD_DATE = "2024-11-09 19:50:39 EST"; - public static final long BUILD_UNIX_TIME = 1731199839115L; + public static final int GIT_REVISION = 16; + public static final String GIT_SHA = "96078f7f7eb8a26dbec35e3ee1abb98234dcca13"; + public static final String GIT_DATE = "2024-12-18 17:32:16 EST"; + public static final String GIT_BRANCH = "configurbindingsmaxc"; + public static final String BUILD_DATE = "2024-12-20 16:40:11 EST"; + public static final long BUILD_UNIX_TIME = 1734730811073L; public static final int DIRTY = 1; - private BuildConstants() {} + private BuildConstants(){} } diff --git a/src/main/java/frc/robot/RobotContainer.java b/src/main/java/frc/robot/RobotContainer.java index 0161be8..1756ec3 100644 --- a/src/main/java/frc/robot/RobotContainer.java +++ b/src/main/java/frc/robot/RobotContainer.java @@ -6,16 +6,18 @@ import edu.wpi.first.wpilibj2.command.Command; import edu.wpi.first.wpilibj2.command.Commands; -import edu.wpi.first.wpilibj2.CommandXboxController; -import edu.wpi.first.wpilibj2.Trigger; +import edu.wpi.first.wpilibj2.command.button.CommandXboxController; +import edu.wpi.first.wpilibj2.command.button.Trigger; +import frc.robot.commands.drive.DriveCommand; public class RobotContainer { + CommandXboxController driverController = new CommandXboxController(4); + Trigger driverAButton = driverController.a(); public RobotContainer() { configureBindings(); } private void configureBindings() { - private final CommandXboxController Capsojaspofopjasopjsafjos = new CommandXboxController(4); - private final Trigger poajpoijafspojiafpjoiadfpojasfpoijafwpopojafpoapoas= Capsojaspofopjasopjsafjos.a(); + driverAButton.onTrue(new DriveCommand(null, null, null, null, null, driverAButton, driverAButton)); } From f61b07e34aab15f600bf3e2343308f2289b57c1b Mon Sep 17 00:00:00 2001 From: Ishan <98932677+Ishan1522@users.noreply.github.com> Date: Tue, 31 Dec 2024 15:51:15 -0500 Subject: [PATCH 8/8] update beta version --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 6762242..efa4a25 100644 --- a/build.gradle +++ b/build.gradle @@ -1,6 +1,6 @@ plugins { id "java" - id "edu.wpi.first.GradleRIO" version "2025.1.1-beta-1" + id "edu.wpi.first.GradleRIO" version "2025.1.1-beta-3" id "com.peterabeles.gversion" version "1.10" id "com.diffplug.spotless" version "6.25.0" id "io.freefair.lombok" version "8.4"