]> git.taranathan.com Git - FRC2026.git/commitdiff
fixed warnings in terminal
authoriefomit <timofei.stem@gmail.com>
Wed, 25 Feb 2026 05:54:43 +0000 (21:54 -0800)
committeriefomit <timofei.stem@gmail.com>
Wed, 25 Feb 2026 05:54:43 +0000 (21:54 -0800)
21 files changed:
src/main/deploy/pathplanner/paths/#1 Left to neutral to depot.path [deleted file]
src/main/deploy/pathplanner/paths/#1 Right to neutral to outpost.path [deleted file]
src/main/deploy/pathplanner/paths/#1 left to neutral to depot.path [deleted file]
src/main/deploy/pathplanner/paths/#1 right to neutral to outpost.path [deleted file]
src/main/deploy/pathplanner/paths/Depot to left climb.path [deleted file]
src/main/deploy/pathplanner/paths/Hub to depot.path [deleted file]
src/main/deploy/pathplanner/paths/Left bump to full neutral to left climb (diagonal).path
src/main/deploy/pathplanner/paths/Left bump to full neutral to left climb.path [deleted file]
src/main/deploy/pathplanner/paths/Left to neutral to depot (diagonal).path
src/main/deploy/pathplanner/paths/Left to neutral to depot.path
src/main/deploy/pathplanner/paths/Outpost to right climb.path [deleted file]
src/main/deploy/pathplanner/paths/Over the bump diagonal.path [deleted file]
src/main/deploy/pathplanner/paths/Over the bump.path [deleted file]
src/main/deploy/pathplanner/paths/depot to left climb.path [deleted file]
src/main/deploy/pathplanner/paths/hub to depot.path [deleted file]
src/main/deploy/pathplanner/paths/left bump to full neutral to left climb.path [deleted file]
src/main/deploy/pathplanner/paths/outpost to right climb.path [deleted file]
src/main/deploy/pathplanner/paths/over the bump diagonal.path [deleted file]
src/main/deploy/pathplanner/paths/over the bump.path [deleted file]
src/main/java/frc/robot/RobotContainer.java
src/test/java/frc/robot/util/PathCheck.java

diff --git a/src/main/deploy/pathplanner/paths/#1 Left to neutral to depot.path b/src/main/deploy/pathplanner/paths/#1 Left to neutral to depot.path
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/src/main/deploy/pathplanner/paths/#1 Right to neutral to outpost.path b/src/main/deploy/pathplanner/paths/#1 Right to neutral to outpost.path
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/src/main/deploy/pathplanner/paths/#1 left to neutral to depot.path b/src/main/deploy/pathplanner/paths/#1 left to neutral to depot.path
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/src/main/deploy/pathplanner/paths/#1 right to neutral to outpost.path b/src/main/deploy/pathplanner/paths/#1 right to neutral to outpost.path
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/src/main/deploy/pathplanner/paths/Depot to left climb.path b/src/main/deploy/pathplanner/paths/Depot to left climb.path
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/src/main/deploy/pathplanner/paths/Hub to depot.path b/src/main/deploy/pathplanner/paths/Hub to depot.path
deleted file mode 100644 (file)
index e69de29..0000000
index 9b6d761e0540974ca497aee42024466a89916521..f74fdd9fa93d373415c2685da9b5445f6f3d10b6 100644 (file)
   "pointTowardsZones": [],
   "eventMarkers": [
     {
-      "name": "Intake fuel",
+      "name": "Intake",
       "waypointRelativePos": 0.0,
       "endWaypointRelativePos": 5.318335208099032,
       "command": {
diff --git a/src/main/deploy/pathplanner/paths/Left bump to full neutral to left climb.path b/src/main/deploy/pathplanner/paths/Left bump to full neutral to left climb.path
deleted file mode 100644 (file)
index e69de29..0000000
index 6916f65df06299becbab6d6ae0136021bb9b85fb..dad32aa0c86adba4417d7c95131a2c34461e7902 100644 (file)
       }
     },
     {
-      "name": "Intake fuel",
+      "name": "Intake",
       "waypointRelativePos": 0.32395950506186116,
       "endWaypointRelativePos": 8.0,
       "command": {
index a82ffcb879a8447253a49d99c2ebb66f6ea79f60..15327395d2cb242de5198f5c2a91b159c35871eb 100644 (file)
       "command": {
         "type": "named",
         "data": {
-          "name": "Intake fuel"
+          "name": "Intake"
         }
       }
     }
diff --git a/src/main/deploy/pathplanner/paths/Outpost to right climb.path b/src/main/deploy/pathplanner/paths/Outpost to right climb.path
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/src/main/deploy/pathplanner/paths/Over the bump diagonal.path b/src/main/deploy/pathplanner/paths/Over the bump diagonal.path
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/src/main/deploy/pathplanner/paths/Over the bump.path b/src/main/deploy/pathplanner/paths/Over the bump.path
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/src/main/deploy/pathplanner/paths/depot to left climb.path b/src/main/deploy/pathplanner/paths/depot to left climb.path
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/src/main/deploy/pathplanner/paths/hub to depot.path b/src/main/deploy/pathplanner/paths/hub to depot.path
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/src/main/deploy/pathplanner/paths/left bump to full neutral to left climb.path b/src/main/deploy/pathplanner/paths/left bump to full neutral to left climb.path
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/src/main/deploy/pathplanner/paths/outpost to right climb.path b/src/main/deploy/pathplanner/paths/outpost to right climb.path
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/src/main/deploy/pathplanner/paths/over the bump diagonal.path b/src/main/deploy/pathplanner/paths/over the bump diagonal.path
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/src/main/deploy/pathplanner/paths/over the bump.path b/src/main/deploy/pathplanner/paths/over the bump.path
deleted file mode 100644 (file)
index e69de29..0000000
index 37ce6e32df76364fbfcdddd17886f35ea3717aeb..39367b7610f07b16a6d23f6b3e1026d31e3a097d 100644 (file)
@@ -20,7 +20,6 @@ import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;
 import edu.wpi.first.wpilibj2.command.Command;
 import edu.wpi.first.wpilibj2.command.InstantCommand;
 import edu.wpi.first.wpilibj2.command.ParallelCommandGroup;
-import edu.wpi.first.wpilibj2.command.SequentialCommandGroup;
 import frc.robot.commands.DoNothing;
 import frc.robot.commands.drive_comm.DefaultDriveCommand;
 import frc.robot.commands.gpm.AutoShootCommand;
@@ -29,7 +28,6 @@ import frc.robot.commands.vision.ShutdownAllPis;
 import frc.robot.constants.AutoConstants;
 import frc.robot.constants.Constants;
 import frc.robot.constants.IntakeConstants;
-import frc.robot.constants.VisionConstants;
 import frc.robot.controls.BaseDriverConfig;
 import frc.robot.controls.Operator;
 import frc.robot.controls.PS5ControllerDriverConfig;
index e601bb7cf3874e75d5cd0ae76e990989de1e25ca..9343b5c7142d8b212a41cff957a579bd87e2dc46 100644 (file)
@@ -1,12 +1,29 @@
 package frc.robot.util;
 
+import org.junit.jupiter.api.BeforeAll;
 import org.junit.jupiter.api.Test;
 
+import com.pathplanner.lib.auto.NamedCommands;
+
+import edu.wpi.first.wpilibj2.command.InstantCommand;
+
 /**
  * Simple check on PathPlanner path
  */
 public class PathCheck {
 
+    /**
+     * Register placeholder commands for testing.
+     * These are normally registered in RobotContainer.registerCommands(),
+     * but the test doesn't instantiate RobotContainer.
+     */
+    @BeforeAll
+    public static void registerPlaceholderCommands() {
+        NamedCommands.registerCommand("Extend intake", new InstantCommand());
+        NamedCommands.registerCommand("Intake", new InstantCommand());
+        NamedCommands.registerCommand("Climb", new InstantCommand());
+    }
+
     /**
      * Load the path groups.
      * <p>