From 029bba7bb61705813104408fd69c4de94703cee3 Mon Sep 17 00:00:00 2001 From: samuel desharnais <samdes330@gmail.com> Date: Thu, 6 Feb 2025 18:43:16 -0500 Subject: [PATCH] huh? --- src/main/deploy/pathplanner/paths/BlueBasPorter2.path | 2 +- src/main/java/frc/robot/RobotContainer.java | 8 +------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/src/main/deploy/pathplanner/paths/BlueBasPorter2.path b/src/main/deploy/pathplanner/paths/BlueBasPorter2.path index 1ae7e8c..bf2e09d 100644 --- a/src/main/deploy/pathplanner/paths/BlueBasPorter2.path +++ b/src/main/deploy/pathplanner/paths/BlueBasPorter2.path @@ -9,7 +9,7 @@ "prevControl": null, "nextControl": { "x": 3.392520491803279, - "y": 1.7293545081967203 + "y": 1.7293545081967205 }, "isLocked": false, "linkedName": null diff --git a/src/main/java/frc/robot/RobotContainer.java b/src/main/java/frc/robot/RobotContainer.java index dc06d05..e7bb386 100644 --- a/src/main/java/frc/robot/RobotContainer.java +++ b/src/main/java/frc/robot/RobotContainer.java @@ -65,15 +65,9 @@ public class RobotContainer { ) ); - // Run SysId routines when holding back/start and X/Y. - // Note that each routine should be run exactly once in a single log. - manette1.back().and(manette1.y()).whileTrue(drivetrain.sysIdDynamic(Direction.kForward)); - manette1.back().and(manette1.x()).whileTrue(drivetrain.sysIdDynamic(Direction.kReverse)); - manette1.start().and(manette1.y()).whileTrue(drivetrain.sysIdQuasistatic(Direction.kForward)); - manette1.start().and(manette1.x()).whileTrue(drivetrain.sysIdQuasistatic(Direction.kReverse)); // reset the field-centric heading on left bumper press - manette1.leftBumper().onTrue(drivetrain.runOnce(() -> drivetrain.seedFieldCentric())); + manette1.start().onTrue(drivetrain.runOnce(() -> drivetrain.seedFieldCentric())); drivetrain.registerTelemetry(logger::telemeterize); }